Skip to content

Commit

Permalink
fix: update ci for hasura build
Browse files Browse the repository at this point in the history
  • Loading branch information
fibonacci998 committed Sep 6, 2023
1 parent 2c4ac4e commit a6a57bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
fetch-depth: 2
- name: Check hasura changes
run: |
CURRENT_COMMIT=$(git rev-parse HEAD)
STATUS=`git diff HEAD^ HEAD hasura`
NUMBER_CHANGES=${#STATUS}
echo NUMBER_CHANGES=${#STATUS} >> $GITHUB_ENV
Expand All @@ -44,7 +43,7 @@ jobs:
runs-on: [ubuntu-latest]
needs:
- check-hasura-metadata
if: needs.check-hasura-metadata.outputs.NUMBER_CHANGES != '0'
if: needs.check-hasura-metadata.outputs.NUMBER_CHANGES
steps:
- run: echo "There is changes in hasura"
updateManifest:
Expand Down

0 comments on commit a6a57bd

Please sign in to comment.