mirror of
https://github.com/julia-actions/setup-julia.git
synced 2026-02-12 11:06:53 +08:00
Use simpler (but equivalent) logic
Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com>
This commit is contained in:
9
.github/workflows/pr_checks.yml
vendored
9
.github/workflows/pr_checks.yml
vendored
@@ -30,15 +30,8 @@ jobs:
|
||||
echo npm-run-test: ${{ needs.npm-run-test.result }}
|
||||
echo make-targets: ${{ needs.make-targets.result }}
|
||||
echo stalecheck-npm-install: ${{ needs.stalecheck-npm-install.result }}
|
||||
# The last line must NOT end with ||
|
||||
# All other lines MUST end with ||
|
||||
- run: exit 1
|
||||
if: |
|
||||
(needs.checked-in-files.result != 'success') ||
|
||||
(needs.build.result != 'success') ||
|
||||
(needs.npm-run-test.result != 'success') ||
|
||||
(needs.make-targets.result != 'success') ||
|
||||
(needs.stalecheck-npm-install.result != 'success')
|
||||
if: ${{ !contains(needs.*.result, 'failure') || !contains(needs.*.result, 'cancelled') || !contains(needs.*.result, 'skipped') }}
|
||||
checked-in-files:
|
||||
timeout-minutes: 30
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user