Skip to content

Commit

Permalink
new: continue-on-fail.md
Browse files Browse the repository at this point in the history
  • Loading branch information
byt3h3ad committed Dec 28, 2023
1 parent 3c438b8 commit 8f1dd2e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions github/continue-on-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Skipping a GitHub Actions step without failing

I wanted to have a GitHub Action step run that might fail, but if it failed the rest of the steps should still execute and the overall run should be treated as a success.

`continue-on-error: true` does exactly that:

```yaml
- name: Task 1
run: task1
continue-on-error: true
- name: Task 2
run: task2
```

0 comments on commit 8f1dd2e

Please sign in to comment.