Skip to content

Commit

Permalink
remove continue-on-error
Browse files Browse the repository at this point in the history
  • Loading branch information
ktong committed Feb 8, 2024
1 parent 0ee025c commit 276e8ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
release:
name: From changelog
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Get latest release info
id: query-release-info
uses: release-flow/keep-a-changelog-action@v3
with:
command: query
version: latest
version: latest-or-unreleased
- name: Get latest release
id: latest-release
uses: actions/github-script@v7
if: steps.query-release-info.outputs.version != '[unreleased]'
continue-on-error: true
with:
script: |
Expand All @@ -33,7 +33,7 @@ jobs:
})
- name: Create release
uses: actions/github-script@v7
if: steps.latest-release.outcome != 'success'
if: steps.latest-release.outcome == 'failure'
with:
script: |
github.rest.repos.createRelease({
Expand Down

0 comments on commit 276e8ab

Please sign in to comment.