From 03bac310f63651717a0e434d6fefe3289c494b08 Mon Sep 17 00:00:00 2001 From: John Watson Date: Mon, 9 Dec 2024 18:53:54 +0000 Subject: [PATCH] Hmmm, not sure --- .github/workflows/run-api-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-api-test.yml b/.github/workflows/run-api-test.yml index 2bb8d59007..316f71a777 100644 --- a/.github/workflows/run-api-test.yml +++ b/.github/workflows/run-api-test.yml @@ -116,7 +116,7 @@ jobs: # Randomly make it fail to test logic if [[ "$(( ( RANDOM % 5 ) + 1 ))" == "3" ]]; then - echo "last_exit_code=$exit_code" >> "$GITHUB_OUTPUT" + echo "last_exit_code=$exit_code" >> "$GITHUB_ENV" exit 53 fi @@ -133,7 +133,7 @@ jobs: exit_code=1 fi - echo "last_exit_code=$exit_code" >> "$GITHUB_OUTPUT" + echo "last_exit_code=$exit_code" >> "$GITHUB_ENV" exit $last_exit_code - name: Upload artifact if exit code 53