5 Commits

Author SHA1 Message Date
Iain Sproat c39aec0850 chore(speckle-automate-github-action): bump to 0.8.0 (#16)
- fixes to README
2023-11-12 17:32:25 +00:00
Iain Sproat 2eacc79a5b chore(deps): bump speckle-automate-github-action from 0.7.0 to 0.7.1 (#15) 2023-11-10 23:06:22 +00:00
dependabot[bot] d9b35b8221 build(deps): Bump actions/checkout from 3 to 4 (#8)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 17:50:48 +00:00
dependabot[bot] 16a7c69d01 build(deps): Bump docker/login-action from 2.2.0 to 3.0.0 (#10)
Bumps [docker/login-action](https://github.com/docker/login-action) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2.2.0...v3.0.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 17:48:55 +00:00
dependabot[bot] efd9578585 build(deps): Bump docker/build-push-action from 4.1.1 to 5.0.0 (#11)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4.1.1 to 5.0.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4.1.1...v5.0.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 17:48:35 +00:00
3 changed files with 6 additions and 12 deletions
+1 -1
View File
@@ -9,6 +9,6 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: pre-commit/action@v3.0.0
+1 -7
View File
@@ -32,13 +32,7 @@ Please note that this is not a Speckle Account token, but a **Speckle Automate A
Your Speckle Token must have write permissions for the Speckle Function with this ID, otherwise the publish will fail.
#### `speckle_function_path`
The path to the Speckle Automate Function to publish. This path is relative to the root of the repository. If you provide a path to a directory, your Speckle Automate Function must be in a file named `specklefunction.yaml` within that directory.
Defaults to the root of the repository.
#### `speckle_function_input_schema`
#### `speckle_function_input_schema_file_path`
The path to a file containing a JSON Schema. This JSON Schema defines the parameters required by the Function. The JSON Schema will be used to automatically create the User Interface displayed to users of your Function in Speckle Automate. Users will be able to provide their data to customise the Function.
+4 -4
View File
@@ -38,7 +38,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v3.5.3 # checkout the repository in which this GitHub Action is being used.
- uses: actions/checkout@v4 # checkout the repository in which this GitHub Action is being used.
- name: Validate inputs
shell: bash
run: |
@@ -79,7 +79,7 @@ runs:
echo "Setting the function's releaseTag to: ${RELEASE_TAG}"
echo "releaseTag=${RELEASE_TAG}" >> "$GITHUB_ENV"
- name: Log in to Speckle Automate Docker registry
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.0.0
with:
registry: ${{ inputs.speckle_automate_url }}
username: ${{ inputs.speckle_token }}
@@ -101,7 +101,7 @@ runs:
exit 1
fi
- name: Build and push Docker image
uses: docker/build-push-action@v4.1.1
uses: docker/build-push-action@v5.0.0
with:
context: ${{ inputs.docker_context }}
file: ${{ inputs.dockerfile_path }}
@@ -109,7 +109,7 @@ runs:
target: ''
push: true
- name: Speckle Automate function version publisher
uses: specklesystems/speckle-automate-github-action@0.7.0
uses: specklesystems/speckle-automate-github-action@0.8.0
id: register_speckle_function_version
with:
speckle_automate_url: ${{ inputs.speckle_automate_url }}