Skip to content

Commit cae42bf

Browse files
committed
Fix actions/upload-artifact
1 parent 1d0d308 commit cae42bf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/build-dist.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434

3535
- uses: actions/upload-artifact@v4
3636
with:
37+
name: ${{ matrix.os }}
3738
path: ./wheelhouse/*.whl
3839

3940
- uses: softprops/action-gh-release@v1
@@ -66,6 +67,7 @@ jobs:
6667

6768
- uses: actions/upload-artifact@v4
6869
with:
70+
name: archs
6971
path: ./wheelhouse/*.whl
7072

7173
- uses: softprops/action-gh-release@v1
@@ -89,6 +91,7 @@ jobs:
8991
9092
- uses: actions/upload-artifact@v4
9193
with:
94+
name: sdist
9295
path: dist/*.tar.gz
9396

9497
- uses: softprops/action-gh-release@v1
@@ -104,12 +107,11 @@ jobs:
104107
# alternatively, to publish when a GitHub Release is created, use the following rule:
105108
# if: github.event_name == 'release' && github.event.action == 'published'
106109
steps:
107-
- uses: actions/download-artifact@v3
110+
- uses: actions/download-artifact@v4
108111
with:
109-
# unpacks default artifact into dist/
110-
# if `name: artifact` is omitted, the action will create extra parent dir
111-
name: artifact
112112
path: dist
113+
pattern: "*"
114+
merge-multiple: true
113115

114116
- uses: pypa/[email protected]
115117
with:

0 commit comments

Comments
 (0)