Skip to content

Commit

Permalink
Fix bash conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
emilypgoogle committed Jun 6, 2024
1 parent bf37123 commit 8706b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-api-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
cache: gradle
- name: Run API versioning check
run: |
if test -d .changes && git diff --quiet HEAD^..HEAD .changes ; then ./gradlew warnVersionBump ; else exit 0 ; fi
if ! test -d .changes || ! git diff --quiet HEAD^..HEAD .changes ; then ./gradlew warnVersionBump ; else exit 0 ; fi
- name : Log errors
if: failure()
run: |
Expand Down

0 comments on commit 8706b80

Please sign in to comment.