diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2c7e8b..ad8775a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,6 +29,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Set macOS deployment target + if: runner.os == 'macOS' + run: echo "MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | cut -d '.' -f 1-2)" | tee -a $GITHUB_ENV + - name: Build wheel uses: pypa/cibuildwheel@v2.22.0 env: