Skip to content

Commit

Permalink
Trigger build workflow on release
Browse files Browse the repository at this point in the history
  • Loading branch information
ixjlyons committed May 14, 2022
1 parent 07f8746 commit 55e8317
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
release:
types: [ published ]

jobs:
build_wheels:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 55e8317

Please sign in to comment.