Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 382 Bytes

continue-on-fail.md

File metadata and controls

13 lines (10 loc) · 382 Bytes

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:

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