Skip to content

Commit

Permalink
use continue-on-error
Browse files Browse the repository at this point in the history
  • Loading branch information
tnyo43 committed May 6, 2024
1 parent 7be9a00 commit 767da7a
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/run_on_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,10 @@ jobs:
- uses: pnpm/action-setup@v3
- run: pnpm install
- name: Run on Success
id: example-success
if: ${{ always() }}
run: pnpm --filter ./examples/success i18n-lint
- name: Run on Failure (expect to fail)
id: example-failure
if: ${{ always() }}
run: pnpm --filter ./examples/failure i18n-lint
continue-on-error: true
- name: Run on Yaml (expect to fail)
id: example-yaml
if: ${{ always() }}
run: pnpm --filter ./examples/yaml i18n-lint
- name: Check Results
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
continue-on-error: true

0 comments on commit 767da7a

Please sign in to comment.