From c0e41c262d9603ae704aa81defedc1d84f299c47 Mon Sep 17 00:00:00 2001 From: Joshua Kiwiet-Pantaleoni Date: Thu, 29 Aug 2024 19:56:24 -0700 Subject: [PATCH] build: allow image to built if release was created --- .github/workflows/semantic-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/semantic-release.yaml b/.github/workflows/semantic-release.yaml index eb48d4bb4c..468ec18209 100644 --- a/.github/workflows/semantic-release.yaml +++ b/.github/workflows/semantic-release.yaml @@ -51,7 +51,7 @@ jobs: build-image: runs-on: ubuntu-latest needs: create-release - if: needs.create-release.outputs.published == 'true' + if: ${{ failure() && needs.create-release.outputs.published == 'true' }} env: GITHUB_PAT: "${{ secrets.KIVA_ROBOT_GITHUB_PAT }}" AWS_REGION: "us-west-2"