From 47a3538a9a4c76d3f54f7682b8b9007177b6eb58 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Wed, 20 Mar 2024 11:12:20 -0400 Subject: [PATCH] status code fixup --- .github/workflows/pr-ci.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-ci.yaml b/.github/workflows/pr-ci.yaml index 01f4eb61e..8a374b4b8 100644 --- a/.github/workflows/pr-ci.yaml +++ b/.github/workflows/pr-ci.yaml @@ -229,11 +229,10 @@ jobs: bash /home/runner/work/cryostat3/cryostat3/schema/update.bash set +e git diff -U10 --exit-code /home/runner/work/cryostat3/cryostat3/schema/openapi.yaml > /home/runner/work/openapi.diff - openapi_status=$? - echo "openapi_status=$openapi_status" >> "$GITHUB_OUTPUT" + echo "openapi_status=$?" >> "$GITHUB_OUTPUT" echo "openapi_diff_file=openapi.diff" >> "$GITHUB_OUTPUT" git diff -U10 --exit-code /home/runner/work/cryostat3/cryostat3/schema/schema.graphql > /home/runner/work/graphql.diff - echo "graphql_status=$graphql_status" >> "$GITHUB_OUTPUT" + echo "graphql_status=$?" >> "$GITHUB_OUTPUT" echo "graphql_diff_file=graphql.diff" >> "$GITHUB_OUTPUT" - uses: actions/upload-artifact@v3 with: