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

View File

@ -1 +1 @@
2.1.1
2.1.2