Skip to content

πŸŽ› πŸ”Š A Python library for audio.

Publish to public PyPI.

Peter Sobot89d2be464e0a
diff --git a/.github/workflows/wheels.yml b/.github/workflows/all.yml
similarity index 98%
rename from .github/workflows/wheels.yml
rename to .github/workflows/all.yml
index a055931..1d9d075 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/all.yml
@@ -206,16 +206,15 @@ jobs:
needs: [lint-python, lint-cpp, build-wheels, run-tests, run-tests-with-address-sanitizer]
runs-on: ubuntu-latest
name: "Upload wheels to PyPI"
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
# 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 == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v2
with:
name: artifact
path: dist
-
- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_DEPLOY_TOKEN }}
- repository_url: https://test.pypi.org/legacy/
\ No newline at end of file