chore: test md template #126
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "continue on error" | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
jobs: | |
continue-on-error: | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: exit 1 | |
continue-on-error: true | |
- run: exit 1 | |
continue-on-error: true | |
- run: echo success | |
# never call failure(), as continue-on-error treat step error as success. | |
- if: failure() | |
run: echo error happen |