From 56bcd914f06ef14007660ae8c71c712e84eb4fa5 Mon Sep 17 00:00:00 2001 From: Colin Hutchinson Date: Thu, 12 Oct 2023 11:49:55 -0400 Subject: [PATCH] fix: stable pointer only for workflow dispatch --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 45ea1bfd..48750173 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -40,7 +40,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: github release (versioned) + - name: github release (stable) id: fullrelease if: github.event_name == 'workflow_dispatch' uses: ahmadnassri/action-semantic-release@v2 @@ -61,7 +61,7 @@ jobs: VERSION: beta - name: aws sam release (stable) - if: github.event_name == 'push' + if: github.event_name == 'workflow_dispatch' run: make sam-package-all-regions env: - VERSION: latest \ No newline at end of file + VERSION: latest