diff --git a/.github/workflows/run-api-test.yml b/.github/workflows/run-api-test.yml index 275370255d..19da7fa511 100644 --- a/.github/workflows/run-api-test.yml +++ b/.github/workflows/run-api-test.yml @@ -143,10 +143,10 @@ jobs: - run: | VALID_FAILURE_EXIT_CODES="53" echo "consolidated:" - echo "${{ needs.api-test.outputs.exit_code | join(",") }}" - echo "alt:" echo "${{ needs.api-test.outputs.exit_code }}" - exit_codes='[${{ needs.api-test.outputs.exit_code | join(",") }}] | jq -r '.[]'' + echo "alt:" + echo "${{ needs.api-test.outputs.exit_code }} | jq" + exit_codes='[${{ needs.api-test.outputs.exit_code}}] -r '.[]'' # Check if any exit code is "bad" for code in $exit_codes; do if echo "$VALID_FAILURE_EXIT_CODES" | grep -qw "$code"; then