From 55e831797ba52ea8441d0496bb62a6b6283920a1 Mon Sep 17 00:00:00 2001 From: Kenneth Lyons Date: Sat, 14 May 2022 10:27:58 -0700 Subject: [PATCH] Trigger build workflow on release --- .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 fd7fab1..2ca88ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,8 @@ on: branches: [ master ] pull_request: branches: [ master ] + release: + types: [ published ] jobs: build_wheels: @@ -55,7 +57,7 @@ jobs: name: Publish to PyPI needs: [build_wheels, build_sdist] runs-on: ubuntu-latest - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/v') steps: - name: Download artifacts uses: actions/download-artifact@v2