diff --git a/.github/workflows/build-wheels-macos-arm64.yaml b/.github/workflows/build-wheels-macos-arm64.yaml index 09fcb93..46c76a9 100644 --- a/.github/workflows/build-wheels-macos-arm64.yaml +++ b/.github/workflows/build-wheels-macos-arm64.yaml @@ -6,6 +6,7 @@ on: - wheel tags: - '*' + workflow_dispatch: concurrency: group: build-wheels-macos-arm64-${{ github.ref }} @@ -60,7 +61,13 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} shell: bash run: | - python3 -m pip install --upgrade pip - python3 -m pip install wheel twine setuptools + opts='--break-system-packages' + v=${{ matrix.python-version }} + if [[ $v == cp37 || $v == cp38 || $v == cp39 ]]; then + opts='' + fi + + python3 -m pip install $opts --upgrade pip + python3 -m pip install $opts wheel twine setuptools twine upload ./wheelhouse/*.whl diff --git a/.github/workflows/build-wheels-macos-x64.yaml b/.github/workflows/build-wheels-macos-x64.yaml index 86192ca..a58dad3 100644 --- a/.github/workflows/build-wheels-macos-x64.yaml +++ b/.github/workflows/build-wheels-macos-x64.yaml @@ -6,6 +6,7 @@ on: - wheel tags: - '*' + workflow_dispatch: concurrency: group: build-wheels-macos-x64-${{ github.ref }} @@ -60,7 +61,13 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} shell: bash run: | - python3 -m pip install --upgrade pip - python3 -m pip install wheel twine setuptools + opts='--break-system-packages' + v=${{ matrix.python-version }} + if [[ $v == cp37 || $v == cp38 || $v == cp39 ]]; then + opts='' + fi + + python3 -m pip install $opts --upgrade pip + python3 -m pip install $opts wheel twine setuptools twine upload ./wheelhouse/*.whl diff --git a/.github/workflows/build-wheels-win32.yaml b/.github/workflows/build-wheels-win32.yaml index a55cbd4..030294d 100644 --- a/.github/workflows/build-wheels-win32.yaml +++ b/.github/workflows/build-wheels-win32.yaml @@ -6,6 +6,7 @@ on: - wheel tags: - '*' + workflow_dispatch: concurrency: group: build-wheels-win32-${{ github.ref }} diff --git a/.github/workflows/build-wheels-win64.yaml b/.github/workflows/build-wheels-win64.yaml index c4ce191..029345c 100644 --- a/.github/workflows/build-wheels-win64.yaml +++ b/.github/workflows/build-wheels-win64.yaml @@ -6,6 +6,7 @@ on: - wheel tags: - '*' + workflow_dispatch: concurrency: group: build-wheels-win64-${{ github.ref }} diff --git a/.github/workflows/build-wheels.yaml b/.github/workflows/build-wheels.yaml index 5f940b3..37844c0 100644 --- a/.github/workflows/build-wheels.yaml +++ b/.github/workflows/build-wheels.yaml @@ -6,6 +6,7 @@ on: - wheel tags: - '*' + workflow_dispatch: concurrency: group: build-wheels-${{ github.ref }}