From 33de34f0d593a1b357a53e1cd968a7860338882c Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Thu, 11 Feb 2021 13:52:10 -0500 Subject: [PATCH] Run action on every master push --- .github/workflows/build-phar.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-phar.yml b/.github/workflows/build-phar.yml index a973772b1..9dcc4a456 100644 --- a/.github/workflows/build-phar.yml +++ b/.github/workflows/build-phar.yml @@ -1,6 +1,9 @@ name: Build phar on: + push: + branches: + - master release: types: - published @@ -45,6 +48,7 @@ jobs: GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Upload release assets + if: ${{ github.event_name == 'release' }} uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }}