Skip to content

Commit 8f2be1e

Browse files
.github/workflows/build_wheels.yml: use upload-artifact@v4.
Also include `${{ matrix.os }}` in name to avoid artifact clashes when running actions across multiple systems.
1 parent 25f14d3 commit 8f2be1e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build_wheels.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ jobs:
7272
run:
7373
python scripts/gh_release.py
7474

75-
- uses: actions/upload-artifact@v3
75+
- uses: actions/upload-artifact@v4
7676
with:
77+
name: sdist-${{ matrix.os }}
7778
path: dist/*.tar.gz
7879

7980

@@ -155,6 +156,7 @@ jobs:
155156

156157
# Upload generated wheels, to be accessible from github Actions page.
157158
#
158-
- uses: actions/upload-artifact@v3
159+
- uses: actions/upload-artifact@v4
159160
with:
161+
name: wheels-${{ matrix.os }}
160162
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)