Skip to content

Commit

Permalink
🚑 Attempt to workaround GitHub's appalling actions status checking
Browse files Browse the repository at this point in the history
  • Loading branch information
pmonks committed Dec 20, 2023
1 parent 617920d commit cf9ff48
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,15 @@ jobs:
CI:
runs-on: ubuntu-latest
if: always()
needs: [run_ci_matrix, after_ci_matrix]
needs: [skip_check, run_ci_matrix, after_ci_matrix]
steps:
- run: |
skipped="${{ needs.skip_check.outputs.should_skip }}"
passed="${{ needs.after_ci_matrix.outputs.success }}"
if [[ $passed == "true" ]]; then
if [[ $skipped == "true" ]]; then
echo "CI matrix skipped"
exit 0
elif [[ $passed == "true" ]]; then
echo "CI matrix passed"
exit 0
else
Expand Down

0 comments on commit cf9ff48

Please sign in to comment.