store schema to file
This commit is contained in:
@@ -20,8 +20,8 @@ jobs:
|
||||
- name: Extract functionInputSchema
|
||||
run: |
|
||||
dotnet build
|
||||
dotnet run generate-schema
|
||||
echo "function_input_schema=$(dotnet run generate-schema)" >> "$GITHUB_ENV"
|
||||
echo $(dotnet run generate-schema) > functionInputSchema
|
||||
cat functionInputSchema
|
||||
- name: Echo env
|
||||
run: echo "$GITHUB_ENV"
|
||||
- name: Speckle Automate Function - Build and Publish
|
||||
@@ -30,5 +30,5 @@ jobs:
|
||||
speckle_automate_url: 'https://automate.speckle.dev'
|
||||
speckle_token: ${{ secrets.SPECKLE_AUTOMATE_FUNCTION_PUBLISH_TOKEN }}
|
||||
speckle_function_id: ${{ secrets.SPECKLE_AUTOMATE_FUNCTION_ID }}
|
||||
speckle_function_input_schema: ${{ env.function_input_schema }}
|
||||
speckle_function_input_schema: cat functionInputSchema
|
||||
speckle_function_command: 'dotnet SpeckleAutomateDotnetExample.dll'
|
||||
|
||||
Reference in New Issue
Block a user