Skip to content

Commit

Permalink
try: test fails on error
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Apr 2, 2024
1 parent 1574368 commit 61d261e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,16 @@ jobs:
with:
working-directory: example
stack-arguments: --stack-yaml ${{ matrix.stack-yaml }}

test-fails-on-error:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: stack-action-step
continue-on-error: true
uses: ./
with:
working-directory: example
stack-arguments: --resolver bad-resolver
- if: steps.stack-action-step.outcome != 'failure'
run: exit 1

0 comments on commit 61d261e

Please sign in to comment.