Skip to content

Commit

Permalink
ci(schema): enable GraphQL schema tracking (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Apr 19, 2024
1 parent 10c8599 commit f937837
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ jobs:
git diff -U10 --exit-code /home/runner/work/cryostat3/cryostat3/schema/openapi.yaml > /home/runner/work/openapi.diff
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=$?" >> "$GITHUB_OUTPUT"
# echo "graphql_diff_file=graphql.diff" >> "$GITHUB_OUTPUT"
git diff -U10 --exit-code /home/runner/work/cryostat3/cryostat3/schema/schema.graphql > /home/runner/work/graphql.diff
echo "graphql_status=$?" >> "$GITHUB_OUTPUT"
echo "graphql_diff_file=graphql.diff" >> "$GITHUB_OUTPUT"
- uses: actions/upload-artifact@v3
with:
name: openapi-diff
Expand Down

0 comments on commit f937837

Please sign in to comment.