GitHub Actions: Create release only when workflow is triggered on master branch

This commit is contained in:
Albert Liu 2020-06-01 20:10:45 -07:00
parent 8eb3ac69b2
commit 873072af95

View file

@ -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