Skip to content

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

Publish to PyPI on release creation.

Peter Sobot8327ce1ded2c
diff --git a/.github/workflows/all.yml b/.github/workflows/all.yml
index 1d9d075..148d457 100644
--- a/.github/workflows/all.yml
+++ b/.github/workflows/all.yml
@@ -160,7 +160,7 @@ jobs:
strategy:
matrix:
python-version: ['3.8']
- os: [ubuntu-latest, windows-latest, macos-10.15, macos-latest]
+ os: [ubuntu-latest, windows-latest, macos-latest]
name: Build wheels on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
@@ -196,7 +196,7 @@ jobs:
# The manylinux container doesn't have a new enough glibc version,
# so we can't run post-wheel-build tests there.
# Also testing any pypy versions fails, as TensorFlow isn't pypy compatible.
- CIBW_TEST_SKIP: "*manylinux* *pp*"
+ CIBW_TEST_SKIP: "*manylinux* *pp* *-macosx_universal2:arm64"
- uses: actions/upload-artifact@v2
with:
@@ -206,9 +206,7 @@ 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: