From a77c7588f1ad6f3a7ddd0cb265eff67eaa4a226c Mon Sep 17 00:00:00 2001 From: Philipp Kaeser Date: Fri, 8 Nov 2024 17:12:59 +0100 Subject: [PATCH] Makes 'Create Release' job conditional on being triggered from tagging. --- .github/workflows/package-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package-release.yml b/.github/workflows/package-release.yml index 483e3d59..c79e9c5d 100644 --- a/.github/workflows/package-release.yml +++ b/.github/workflows/package-release.yml @@ -16,6 +16,7 @@ on: jobs: release: name: Create Release + if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest steps: @@ -39,6 +40,5 @@ jobs: - name: Upload source package. uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') with: files: ${{env.WLM_ARCHIVE}}