From 873072af952b84fe3e82709b585bf7ffc3551713 Mon Sep 17 00:00:00 2001 From: Albert Liu <45282415+ggrtk@users.noreply.github.com> Date: Mon, 1 Jun 2020 20:10:45 -0700 Subject: [PATCH] GitHub Actions: Create release only when workflow is triggered on master branch --- .github/workflows/rolling-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rolling-release.yml b/.github/workflows/rolling-release.yml index 53a931f4d..b53414e03 100644 --- a/.github/workflows/rolling-release.yml +++ b/.github/workflows/rolling-release.yml @@ -88,6 +88,7 @@ jobs: create-release: needs: [windows-build, linux-build] runs-on: "ubuntu-latest" + if: github.ref == 'refs/heads/master' steps: - name: Download Windows x64 Artifact uses: actions/download-artifact@v1