From 52a978795fdb5774e64b5ae7f85e5e453f38a704 Mon Sep 17 00:00:00 2001 From: Nicholas Bianco Date: Mon, 9 Sep 2024 11:23:54 -0700 Subject: [PATCH 1/2] Update MacOSX version in output --- .github/workflows/build_x86_mac_wheels.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_x86_mac_wheels.yml b/.github/workflows/build_x86_mac_wheels.yml index ecca66c44..995a6a09f 100644 --- a/.github/workflows/build_x86_mac_wheels.yml +++ b/.github/workflows/build_x86_mac_wheels.yml @@ -1,9 +1,12 @@ name: Build and Publish Wheels (Mac OSX x86_64 only) on: - workflow_dispatch: - release: - types: [published] + pull_request: + branches: + - "**" +# workflow_dispatch: +# release: +# types: [published] jobs: build-mac: name: Mac OSX Python ${{ matrix.python-version }} - Build Wheels @@ -62,8 +65,8 @@ jobs: - name: Publish artifact uses: actions/upload-artifact@v2 with: - name: nimblephysics-${{ env.VERSION }}-${{ matrix.PYTHON_VERSION_CODE }}-macosx_10_9_x86_64.whl - path: wheelhouse/nimblephysics-${{ env.VERSION }}-${{ matrix.PYTHON_VERSION_CODE }}-macosx_10_9_x86_64.whl + name: nimblephysics-${{ env.VERSION }}-${{ matrix.PYTHON_VERSION_CODE }}-macosx_12_0_x86_64.whl + path: wheelhouse/nimblephysics-${{ env.VERSION }}-${{ matrix.PYTHON_VERSION_CODE }}-macosx_12_0_x86_64.whl publish: name: Publish to PyPI runs-on: ubuntu-latest From f5f3fb4fe676c945bb155b45d91fe9e684ecb58d Mon Sep 17 00:00:00 2001 From: Nicholas Bianco Date: Mon, 9 Sep 2024 12:24:27 -0700 Subject: [PATCH 2/2] Restore Mac wheels script to build on publish --- .github/workflows/build_x86_mac_wheels.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_x86_mac_wheels.yml b/.github/workflows/build_x86_mac_wheels.yml index 995a6a09f..e439d43e0 100644 --- a/.github/workflows/build_x86_mac_wheels.yml +++ b/.github/workflows/build_x86_mac_wheels.yml @@ -1,12 +1,9 @@ name: Build and Publish Wheels (Mac OSX x86_64 only) on: - pull_request: - branches: - - "**" -# workflow_dispatch: -# release: -# types: [published] + workflow_dispatch: + release: + types: [published] jobs: build-mac: name: Mac OSX Python ${{ matrix.python-version }} - Build Wheels