github actions: fix workflow with strategy.job-index; bump version 2.1.2

This commit is contained in:
Mario Fink 2025-02-12 23:46:04 +01:00
parent f531b0fe90
commit 32e36aae00
2 changed files with 6 additions and 9 deletions

View File

@ -16,7 +16,7 @@ jobs:
- name: Prepare wheel build - name: Prepare wheel build
run: make -C python/ setup run: make -C python/ setup
- name: Store wheel configuration files - name: Store wheel configuration files
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4.6.0
with: with:
name: wheel-config name: wheel-config
path: python/ path: python/
@ -29,8 +29,7 @@ jobs:
needs: [build_setup] needs: [build_setup]
strategy: strategy:
matrix: matrix:
os: [ubuntu-24.04, windows-2022] os: [ubuntu-latest, windows-latest]
arch: [auto32, auto64, aarch64]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -45,12 +44,10 @@ jobs:
- name: Build wheels - name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse run: python -m cibuildwheel --output-dir wheelhouse
working-directory: python/ working-directory: python/
# env:
# CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-*
- name: Store binary wheels - name: Store binary wheels
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4.6.0
with: with:
name: binary-wheels-${{matrix.os}}-${{matrix.arch}} name: binary-wheels-${{matrix.os}}-${{ strategy.job-index }}
path: python/wheelhouse/*.whl path: python/wheelhouse/*.whl
build_sdist: build_sdist:
@ -70,7 +67,7 @@ jobs:
run: python setup.py sdist run: python setup.py sdist
working-directory: python/ working-directory: python/
- name: Store source wheels - name: Store source wheels
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4.6.0
with: with:
name: source-wheels name: source-wheels
path: python/dist/*.tar.gz path: python/dist/*.tar.gz

View File

@ -1 +1 @@
2.1.1 2.1.2