Skip to content

Commit

Permalink
CI: fix semantics of the check workflow step.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Oct 28, 2023
1 parent e285886 commit b642ebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
./tests/run.sh
check: # group all `test (*)` workflows into one for the required status check
needs: test
if: always() && !contains(needs.*.result, 'cancelled')
runs-on: ubuntu-latest
steps:
- run: |
true
- run: ${{ contains(needs.*.result, 'failure') && 'false' || 'true' }}
publish:
needs: check
runs-on: ubuntu-latest
Expand Down

0 comments on commit b642ebf

Please sign in to comment.