From edffcc32eea18f4303d7074458a4dbe0ec65e2f8 Mon Sep 17 00:00:00 2001 From: Zachary Brown Date: Wed, 19 Jul 2023 14:20:45 -0700 Subject: [PATCH] ci: limit releases to tags --- .github/workflows/build-installers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-installers.yml b/.github/workflows/build-installers.yml index e740cda..e0137f7 100644 --- a/.github/workflows/build-installers.yml +++ b/.github/workflows/build-installers.yml @@ -196,6 +196,7 @@ jobs: release: runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') needs: - build steps: @@ -212,7 +213,6 @@ jobs: - name: Release uses: softprops/action-gh-release@v0.1.15 - if: startsWith(github.ref, 'refs/tags/') with: files: installers/*/* fail_on_unmatched_files: true