diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index ba506ab08..db450c0ad 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -2,7 +2,7 @@ name: Build on: push: branches: - master + - master workflow_dispatch: jobs: @@ -16,7 +16,7 @@ jobs: - name: Build SDist run: pipx run build --sdist - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: path: dist/*.tar.gz @@ -35,6 +35,6 @@ jobs: uses: pypa/cibuildwheel@v2.16.2 - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl diff --git a/pyproject.toml b/pyproject.toml index 1c12c83e1..e34515858 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,12 +44,15 @@ build = [ "cp311-*", "cp312-*", ] -# Build only universal wheels for Mac +# Build only universal wheels for Mac where possible skip = [ "cp*-macosx_x86_64", "cp*-macosx_arm64", ] +[tool.cibuildwheel.macos] +archs = ["x86_64", "universal2", "arm64"] + [tool.isort] profile = "black"