Skip to content

Commit

Permalink
fix: additional tweaks to publishing wheels (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Oct 2, 2022
1 parent 7865424 commit 05b9453
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Build

on:
push:
branches:
- main
release:
types:
- released
- published

jobs:
build_wheels:
Expand Down Expand Up @@ -41,7 +44,8 @@ jobs:
needs: [build_wheels]
runs-on: ubuntu-latest
environment: release

# alternatively, to publish when a GitHub Release is created, use the following rule:
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 05b9453

Please sign in to comment.