From b35be0fbdc5aa294cafac6f868025f1188edb15d Mon Sep 17 00:00:00 2001 From: Oliver Luo Date: Sun, 26 Nov 2023 11:17:32 -0800 Subject: [PATCH] adjusted step if --- .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 d9dde6b..273cc7c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -206,9 +206,9 @@ jobs: echo "Image not found in ICR: ${IMAGE}" fi - - name: Build and push? + - name: Skip build and push? run: echo "Image is found on ICR, skipping build and push" - if: env.IMAGE_EXISTS=="true" + if: env.IMAGE_EXISTS=='true' - name: Build and push id: build-push @@ -232,7 +232,7 @@ jobs: build-args: |- SN_GITHUB_NPM_TOKEN=${{ secrets.NPM_TOKEN }} SN_GITHUB_NPM_REGISTRY=https://npm.pkg.github.com - if: env.IMAGE_EXISTS == "false" + if: env.IMAGE_EXISTS == 'false' - uses: sigstore/cosign-installer@main if: ${{ inputs.push }}