Skip to content

Commit

Permalink
Flow control
Browse files Browse the repository at this point in the history
  • Loading branch information
wonda-tea-coffee committed Jun 19, 2024
1 parent 307762f commit 08ab6b4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/continue-on-error.yml

This file was deleted.

11 changes: 11 additions & 0 deletions .github/workflows/zoi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Flow control
on: push
jobs:
run:
runs-on: ubuntu-latest
steps:
- run: exit "$((RANDOM % 2))"
- run: exit 1
id: error
- run: echo "Catch error step"
if: ${{ failure() && steps.error.outcome == 'failure' }}

0 comments on commit 08ab6b4

Please sign in to comment.