From 43ba7e8e154a3a4e85694aa94d0d74ddd02408a7 Mon Sep 17 00:00:00 2001 From: Eoin Shanaghy Date: Mon, 30 Sep 2024 08:55:17 +0100 Subject: [PATCH] ci: skip SAR Publish for pre-releases --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32254522..ab466c9a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,6 +57,7 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: SAR publish + if: ${{ github.event.release.prerelease == false }} run: | sam build --base-dir . --template-file cf-macro/template.yaml sam package --output-template-file packaged.yaml --s3-bucket ${SAR_BUCKET_NAME}