Skip to content

Commit 65d2411

Browse files
committed
Each wheel artifact in the matrix has a unique name rather than using deprecated implicit merge behavior available in v3 upload artifact. Updated pypi publish to match new artifact name pattern
1 parent 62bf6ca commit 65d2411

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/pypi-publish.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
workflow: python-package.yml
2323
workflow_conclusion: success
2424
commit: ${{ github.sha }}
25-
name: wheels
25+
name_is_regexp: true
26+
name: wheel-.*
2627
path: dist
2728

2829
- name: Download sdist from commit ${{ github.sha }}

.github/workflows/python-package.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ jobs:
195195

196196
- uses: actions/upload-artifact@v4
197197
with:
198-
name: wheels
199-
path: ./wheelhouse/*-${{ matrix.python-build }}.whl
198+
name: wheel-{{ matrix.os }}-${{ matrix.python-build }}
199+
path: ./wheelhouse/*.whl
200200

201201
package_sdist:
202202
needs: py_build_test

0 commit comments

Comments
 (0)