fix: additional tweaks to publishing wheels (#53)
This commit is contained in:
parent
7865424185
commit
05b9453173
8
.github/workflows/wheels.yml
vendored
8
.github/workflows/wheels.yml
vendored
@ -1,9 +1,12 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
release:
|
||||
types:
|
||||
- released
|
||||
- published
|
||||
|
||||
jobs:
|
||||
build_wheels:
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user