Skip to content

Commit

Permalink
Merge pull request #726 from vsbogd/fix-release
Browse files Browse the repository at this point in the history
Use old version of cibuildwheel for MacOS releases
  • Loading branch information
vsbogd authored Jul 5, 2024
2 parents 995fa92 + f035ad7 commit c4269a6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,21 @@ jobs:
echo "COMMIT_HEAD=${{github.ref_name != '' && github.ref_name || env.GITHUB_SHA}}" | tee -a $GITHUB_ENV
- name: Build wheels on ${{ matrix.os }}
if: ${{ !startsWith(matrix.os, 'macos') }}
uses: pypa/[email protected]
env:
CIBW_BEFORE_ALL: sh -c "./python/install-hyperonc.sh -u https://github.com/${{github.repository}}.git -r ${{env.COMMIT_HEAD}}"
with:
package-dir: ./python

- name: Build wheels on ${{ matrix.os }}
if: ${{ startsWith(matrix.os, 'macos') }}
uses: pypa/[email protected]
env:
CIBW_BEFORE_ALL: sh -c "./python/install-hyperonc.sh -u https://github.com/${{github.repository}}.git -r ${{env.COMMIT_HEAD}}"
with:
package-dir: ./python

- name: Publish Artifacts on GitHub Release
if: github.event.action == 'published'
uses: svenstaro/upload-release-action@v2
Expand Down

0 comments on commit c4269a6

Please sign in to comment.