diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 6bb5b35e2..8c3bee735 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -247,7 +247,8 @@ jobs: - name: The macOS wheel is only backwards compatible with the macOS major version it is built from if: ${{ startsWith(inputs.platform-tag, 'macosx') }} - run: echo MACOSX_DEPLOYMENT_TARGET=$(sw_vers --productVersion | cut -d"." -f 1).0 >> $GITHUB_ENV + # Use single dash for backwards compatibility + run: echo MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | cut -d"." -f 1).0 >> $GITHUB_ENV - uses: docker/login-action@v3 if: ${{ startsWith(inputs.platform-tag, 'manylinux') }}