fix: publish wheels when release happens (#59)

This commit is contained in:
J. Nick Koston 2022-10-02 10:56:20 -10:00 committed by GitHub
parent 28a96d82aa
commit 45e8ac00c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,18 @@
name: Wheels
on:
release:
types: [published]
workflow_run:
workflows: [CI]
branch: [main]
types:
- completed
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
if: github.event_name == 'release' && github.event.action == 'published'
strategy:
matrix:
os: [ubuntu-20.04]