From 12050f6690c5a371807c17606da7f807da719511 Mon Sep 17 00:00:00 2001 From: ahirner Date: Sun, 9 Jan 2022 19:25:06 +0100 Subject: [PATCH] try github release event --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5302e01..c511e1a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,8 @@ on: push: branches: [ main ] pull_request: + release: + types: [created] jobs: linux: @@ -52,7 +54,7 @@ jobs: release: name: Release runs-on: ubuntu-latest - if: "startsWith(github.ref, 'refs/tags/')" + if: github.event_name == 'release' && github.event.action == 'created' needs: [ macos, windows, linux ] steps: - uses: actions/download-artifact@v2