7 Commits

Author SHA1 Message Date
Chuck Driesler 7480b04a91 drop internal checkout (#32) 2025-09-19 11:41:41 +01:00
Iain Sproat cc5ebe707c build(deps): bump speckle-automate-github-action from 0.9.0 to 0.10.0 (#28) 2024-10-07 12:42:24 +01:00
dependabot[bot] 0aa892ad33 build(deps): Bump docker/login-action from 3.0.0 to 3.1.0 (#26)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3.0.0...v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 12:30:51 +01:00
dependabot[bot] 3e90df75b7 build(deps): Bump docker/build-push-action from 5.1.0 to 5.3.0 (#27)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5.1.0 to 5.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5.1.0...v5.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 12:30:30 +01:00
dependabot[bot] f58e89de52 build(deps): Bump specklesystems/speckle-automate-github-action (#24)
Bumps [specklesystems/speckle-automate-github-action](https://github.com/specklesystems/speckle-automate-github-action) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/specklesystems/speckle-automate-github-action/releases)
- [Commits](https://github.com/specklesystems/speckle-automate-github-action/compare/0.9.1...0.9.2)

---
updated-dependencies:
- dependency-name: specklesystems/speckle-automate-github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 12:30:10 +01:00
dependabot[bot] 2d8896e903 build(deps): Bump specklesystems/speckle-automate-github-action (#23)
Bumps [specklesystems/speckle-automate-github-action](https://github.com/specklesystems/speckle-automate-github-action) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/specklesystems/speckle-automate-github-action/releases)
- [Commits](https://github.com/specklesystems/speckle-automate-github-action/compare/0.9.0...0.9.1)

---
updated-dependencies:
- dependency-name: specklesystems/speckle-automate-github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 21:16:12 +00:00
dependabot[bot] 263c01beed build(deps): Bump pre-commit/action from 3.0.0 to 3.0.1 (#22)
Bumps [pre-commit/action](https://github.com/pre-commit/action) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/pre-commit/action/releases)
- [Commits](https://github.com/pre-commit/action/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: pre-commit/action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 21:12:27 +00:00
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -11,4 +11,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/action@v3.0.0
- uses: pre-commit/action@v3.0.1
+4 -2
View File
@@ -35,6 +35,7 @@ Your Speckle Token must have write permissions for the Speckle Function with thi
#### `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.
This can be an absolute path, or a path relative to the Home directory of the GitHub Action runner.
Defaults to `./input-schema.json`
@@ -91,8 +92,9 @@ This GitHub Action does not have any outputs. Please instead inspect the logs to
docker:
runs-on: ubuntu-latest
steps:
-
name: Register, Build, and Publish a Speckle Function
- name: Checkout
uses: actions/checkout@v5 # <-- CONFIGURE CHECKOUT FOR YOUR CODE
- name: Register, Build, and Publish a Speckle Function
uses: specklesystems/speckle-automate-github-composite-action
with:
speckle_token: ${{ secrets.SPECKLE_FUNCTION_PUBLISH_TOKEN }}
+3 -4
View File
@@ -38,7 +38,6 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v4 # checkout the repository in which this GitHub Action is being used.
- name: Validate inputs
shell: bash
run: |
@@ -81,7 +80,7 @@ runs:
- name: Set up Docker Buildx # required to enable caching of docker build
uses: docker/setup-buildx-action@v3
- name: Log in to Speckle Automate Docker registry
uses: docker/login-action@v3.0.0
uses: docker/login-action@v3.1.0
with:
registry: ${{ inputs.speckle_automate_url }}
username: ${{ inputs.speckle_token }}
@@ -103,7 +102,7 @@ runs:
exit 1
fi
- name: Build and push Docker image
uses: docker/build-push-action@v5.1.0
uses: docker/build-push-action@v5.3.0
with:
context: ${{ inputs.docker_context }}
file: ${{ inputs.dockerfile_path }}
@@ -113,7 +112,7 @@ runs:
cache-from: type=registry,ref=${{ env.automateHost }}/${{ inputs.speckle_function_id }}:buildcache
cache-to: type=registry,ref=${{ env.automateHost }}/${{ inputs.speckle_function_id }}:buildcache,mode=max
- name: Speckle Automate function version publisher
uses: specklesystems/speckle-automate-github-action@0.9.0
uses: specklesystems/speckle-automate-github-action@0.10.0
id: register_speckle_function_version
with:
speckle_automate_url: ${{ inputs.speckle_automate_url }}