diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index d042378..2e2f717 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: python-version: [3.8, 3.9, "3.10", "3.11"] - os: [ubuntu-20.04, macos-10.15] + os: [ubuntu-20.04, macos-11] platform: [x64] env: REPO_DIR: httpstan @@ -53,9 +53,9 @@ jobs: pip install virtualenv - name: Set multibuild environment variables run: | - if [ "macos-10.15" == "${{ matrix.os }}" ]; then echo "PLAT=x86_64" >> $GITHUB_ENV; fi - if [ "macos-10.15" == "${{ matrix.os }}" ]; then echo "ARCHFLAGS=-arch x86_64" >> $GITHUB_ENV; fi - if [ "macos-10.15" == "${{ matrix.os }}" ]; then echo "MB_PYTHON_OSX_VER=10.9" >> $GITHUB_ENV; fi + if [ "macos-11" == "${{ matrix.os }}" ]; then echo "PLAT=x86_64" >> $GITHUB_ENV; fi + if [ "macos-11" == "${{ matrix.os }}" ]; then echo "ARCHFLAGS=-arch x86_64" >> $GITHUB_ENV; fi + if [ "macos-11" == "${{ matrix.os }}" ]; then echo "MB_PYTHON_OSX_VER=10.9" >> $GITHUB_ENV; fi - name: Use most recent tag as BUILD_COMMIT run: echo "BUILD_COMMIT=$(cd httpstan && git tag --sort version:refname | tail -1)" >> $GITHUB_ENV - name: Print environment variables