Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 342c0fb72d |
+5
-4
@@ -21,11 +21,12 @@ inputs:
|
||||
speckle_function_command:
|
||||
description: 'The command to run to execute the function in a runtime environment.'
|
||||
required: true
|
||||
speckle_function_release_tag:
|
||||
description: 'User defined tag for the function release'
|
||||
required: true
|
||||
outputs:
|
||||
version_id:
|
||||
description: 'The unique identifier of the function version.'
|
||||
speckle_automate_host:
|
||||
description: 'The host component of the Speckle Automate Server URL.'
|
||||
speckle_automate_function_release_id:
|
||||
description: 'The unique identifier of the function release.'
|
||||
runs:
|
||||
using: 'node16' #FIXME bump to node18 when available
|
||||
main: 'dist/action/index.js'
|
||||
|
||||
+1
@@ -14146,6 +14146,7 @@ async function run() {
|
||||
const commitId = gitCommitSha.substring(0, 7);
|
||||
const { versionId } = await registerNewVersionForTheSpeckleAutomateFunction(inputVariables, commitId);
|
||||
core.info(`Registered function version tagged as ${inputVariables.speckleFunctionReleaseTag} with new id: ${versionId}`);
|
||||
core.setOutput('speckle_automate_function_release_id', versionId);
|
||||
}
|
||||
run();
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -179,6 +179,7 @@ export async function run(): Promise<void> {
|
||||
core.info(
|
||||
`Registered function version tagged as ${inputVariables.speckleFunctionReleaseTag} with new id: ${versionId}`
|
||||
)
|
||||
core.setOutput('speckle_automate_function_release_id', versionId)
|
||||
}
|
||||
|
||||
run()
|
||||
|
||||
Reference in New Issue
Block a user