fix: wheel builds on aarch64 (#367)
This commit is contained in:
parent
3409379eb3
commit
18132b99bc
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user