From 3d6bdf69e5bcc6acf037b7bc151ff22e7dfe5737 Mon Sep 17 00:00:00 2001 From: Nils Homer Date: Fri, 17 Jan 2025 01:47:11 -0700 Subject: [PATCH] fix: macos wheel name --- .github/workflows/wheels.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 0eba0f1..f9ac9ab 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -52,6 +52,10 @@ jobs: - name: Install cibuildwheel run: python -m pip install cibuildwheel==2.15.0 + - name: Set macOS deployment target + if: startsWith(matrix.platform.target, 'macos') + run: echo "MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | cut -d '.' -f 1-2)" >> $GITHUB_ENV + - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse env: