Skip to content

Commit 6f06cba

Browse files
committed
CI: update upload/download artifact
1 parent 9c79d3c commit 6f06cba

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/wheels.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
os: [ubuntu-24.04, macos-12]
16+
include:
17+
- name: linux
18+
os: ubuntu-24.04
19+
- name: macos
20+
os: macos-12
1721

1822
steps:
1923
- uses: actions/checkout@v4
@@ -33,9 +37,9 @@ jobs:
3337
- name: Build wheels
3438
run: python -m cibuildwheel --output-dir wheelhouse
3539

36-
- uses: actions/upload-artifact@v3
40+
- uses: actions/upload-artifact@v4
3741
with:
38-
name: wheels
42+
name: wheels-${{ matrix.name }}
3943
path: ./wheelhouse/*.whl
4044

4145
pypi:
@@ -44,10 +48,11 @@ jobs:
4448
runs-on: ubuntu-24.04
4549

4650
steps:
47-
- uses: actions/download-artifact@v3
51+
- uses: actions/download-artifact@v4
4852
with:
49-
name: wheels
5053
path: dist
54+
pattern: wheels-*
55+
merge-multiple: true
5156

5257
- name: Display structure of downloaded files
5358
run: ls -lh dist

0 commit comments

Comments
 (0)