From 9e60beb2da775af8636e8048777fbb1b81724c6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Jedlicska?= Date: Thu, 10 Aug 2023 15:38:26 +0200 Subject: [PATCH] store schema to file --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'