|
|
@@ -8,7 +8,7 @@ env: |
|
|
|
|
|
|
|
jobs: |
|
|
|
build_wheels: |
|
|
|
name: Build wheels on |
|
|
|
name: Build wheels |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
@@ -40,10 +40,7 @@ jobs: |
|
|
|
upload_pypi: |
|
|
|
needs: [build_wheels, build_sdist] |
|
|
|
runs-on: ubuntu-latest |
|
|
|
# upload to PyPI on every tag starting with 'v' |
|
|
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') |
|
|
|
# alternatively, to publish when a GitHub Release is created, use the following rule: |
|
|
|
# if: github.event_name == 'release' && github.event.action == 'published' |
|
|
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') |
|
|
|
steps: |
|
|
|
- uses: actions/download-artifact@v3 |
|
|
|
with: |
|
|
|