Skip to content

Commit

Permalink
fix conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
tnyo43 committed May 6, 2024
1 parent 89b8a87 commit 7be9a00
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/run_on_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@ jobs:
if: ${{ always() }}
run: pnpm --filter ./examples/yaml i18n-lint
- name: Check Results
if: ${{ steps.example-success.conclusion != 'success' || steps.example-failure.conclusion != 'failure' || steps.example-yaml.conclusion != 'failure' }}
id: check-result
if: ${{ always() && steps.example-success.conclusion == 'success' && steps.example-failure.conclusion == 'failure' && steps.example-yaml.conclusion == 'failure' }}
run: exit 0
- name: Fail
if: ${{ always() && steps.example-success.conclusion == 'skipped' }}
run: exit 1

0 comments on commit 7be9a00

Please sign in to comment.