store schema to file

This commit is contained in:
Gergő Jedlicska
2023-08-10 15:38:26 +02:00
parent ad6b997570
commit 9e60beb2da
+3 -3
View File
@@ -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'