Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a7568a91bd | |||
| ef6a3b899f | |||
| 3ea9375091 | |||
| 9992edd0e7 | |||
| 8f046e505b | |||
| 02a2e9a0fa | |||
| e18f046ce0 | |||
| 77430aa596 |
+6
-6
@@ -15,10 +15,9 @@ inputs:
|
||||
speckle_function_id:
|
||||
description: 'The unique identifier of the function. Go to Speckle Automate to register your Function and get its Identifier.'
|
||||
required: true
|
||||
speckle_function_input_schema:
|
||||
description: 'JSON Schema defining the parameters required by the Function. These will be used to 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.'
|
||||
speckle_function_input_schema_file_path:
|
||||
description: 'File path containing JSON Schema of the parameters object required by the function. These will be used to 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.'
|
||||
required: false
|
||||
default: './input-schema.json'
|
||||
speckle_function_command:
|
||||
description: 'The command to run to execute the function in a runtime environment.'
|
||||
required: true
|
||||
@@ -35,12 +34,13 @@ runs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.3 # checkout the repository in which this GitHub Action is being used.
|
||||
- name: Speckle Automate function version publisher
|
||||
uses: specklesystems/speckle-automate-github-action@0.2.0
|
||||
uses: specklesystems/speckle-automate-github-action@0.4.0
|
||||
id: register_speckle_function_version
|
||||
with:
|
||||
speckle_automate_url: ${{ inputs.speckle_automate_url }}
|
||||
speckle_token: ${{ inputs.speckle_token }}
|
||||
speckle_function_id: ${{ inputs.speckle_function_id }}
|
||||
speckle_function_input_schema: ${{ inputs.speckle_function_input_schema }}
|
||||
speckle_function_input_schema_file_path: ${{ inputs.speckle_function_input_schema_file_path }}
|
||||
speckle_function_command: ${{ inputs.speckle_function_command }}
|
||||
- name: Log in to Speckle Automate Docker registry
|
||||
uses: docker/login-action@v2.2.0
|
||||
@@ -53,6 +53,6 @@ runs:
|
||||
with:
|
||||
context: ${{ inputs.docker_context }}
|
||||
file: ${{ inputs.dockerfile_path }}
|
||||
tags: ${{ steps.register-speckle-function-version.outputs.speckle_automate_host }}/${{ inputs.speckle_function_id }}:${{ steps.register-speckle-function-version.outputs.version_id }}
|
||||
tags: ${{ steps.register_speckle_function_version.outputs.speckle_automate_host }}/${{ inputs.speckle_function_id }}:${{ steps.register-speckle-function-version.outputs.version_id }}
|
||||
target: ''
|
||||
push: true
|
||||
|
||||
Reference in New Issue
Block a user