From 276e8abb596137bcc4b6aacaab74c42f228c2c34 Mon Sep 17 00:00:00 2001 From: ktong Date: Thu, 8 Feb 2024 08:42:18 -0800 Subject: [PATCH] remove continue-on-error --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21e2446..a6d4c03 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,6 @@ jobs: release: name: From changelog runs-on: ubuntu-latest - continue-on-error: true steps: - uses: actions/checkout@v4 - name: Get latest release info @@ -19,10 +18,11 @@ jobs: 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: | @@ -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({