fix: wheel builds on aarch64 (#367)

This commit is contained in:
J. Nick Koston 2025-01-17 09:43:42 -10:00 committed by GitHub
parent 3409379eb3
commit 18132b99bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,6 +101,8 @@ jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: release environment: release
outputs:
newest_release_tag: ${{ steps.release_tag.outputs.newest_release_tag }}
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
needs: needs:
- test - test
@ -124,6 +126,12 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
pypi_token: ${{ secrets.PYPI_TOKEN }} pypi_token: ${{ secrets.PYPI_TOKEN }}
- name: Get Release Tag
id: release_tag
shell: bash
run: |
echo "newest_release_tag=$(semantic-release print-version --current)" >> $GITHUB_OUTPUT
build_wheels: build_wheels:
needs: [release] needs: [release]
@ -143,18 +151,9 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
- name: Install python-semantic-release
run: python -m pip install python-semantic-release==7.34.6
- name: Get Release Tag
id: release_tag
shell: bash
run: |
echo "::set-output name=newest_release_tag::$(semantic-release print-version --current)"
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
ref: "v${{ steps.release_tag.outputs.newest_release_tag }}" ref: "v${{ needs.release.outputs.newest_release_tag }}"
fetch-depth: 0 fetch-depth: 0
- name: Install cibuildwheel - name: Install cibuildwheel