From b4e0c4db07b7ff86dbe700ca9d7fee26a27f9bab Mon Sep 17 00:00:00 2001 From: Julio Quinteros Pro Date: Sun, 1 Mar 2026 14:47:04 -0300 Subject: [PATCH] Use temp file for JSON result passing between steps Avoids shell quoting issues with single quotes in JSON and multi-line output truncation when using GITHUB_OUTPUT. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/run_observatory_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_observatory_tests.yml b/.github/workflows/run_observatory_tests.yml index 4f0d5febf4..e0389cb43d 100644 --- a/.github/workflows/run_observatory_tests.yml +++ b/.github/workflows/run_observatory_tests.yml @@ -137,7 +137,7 @@ jobs: if [ "$RUN_STATUS" = "completed" ] || [ "$RUN_STATUS" = "failed" ]; then echo "Test finished with status: $RUN_STATUS" - echo "run_result=$STATUS" >> $GITHUB_OUTPUT + echo "$STATUS" > /tmp/observatory_result.json exit 0 fi @@ -149,7 +149,7 @@ jobs: - name: Verify test results run: | - RESULT='${{ steps.poll.outputs.run_result }}' + RESULT=$(cat /tmp/observatory_result.json) echo "Full result: $RESULT" STATUS=$(echo "$RESULT" | jq -r '.status')