diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8bdfea8..9a547fb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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'