Skip to content

Commit 9e46bb1

Browse files
authored
Fix deployment workflow
1 parent 117b96c commit 9e46bb1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/deploy.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
(github.event_name == 'release' && github.event.action == 'published')
5252
uses: actions/upload-artifact@v4
5353
with:
54+
name: wheel-${{ matrix.buildplat[0] }}-${{ matrix.python }}
5455
path: wheelhouse/*.whl
5556
retention-days: 7
5657

@@ -73,6 +74,7 @@ jobs:
7374
(github.event_name == 'release' && github.event.action == 'published')
7475
uses: actions/upload-artifact@v4
7576
with:
77+
name: sdist
7678
path: dist/*.tar.gz
7779
retention-days: 7
7880

@@ -89,10 +91,10 @@ jobs:
8991
runs-on: ubuntu-latest
9092
needs: [build_wheels, build_sdist]
9193
steps:
92-
- uses: actions/download-artifact@v4.1.7
94+
- uses: actions/download-artifact@v4
9395
with:
94-
name: artifact
9596
path: dist
97+
merge-multiple: true
9698

9799
- name: upload_source_and_wheels
98100
uses: pypa/[email protected]
@@ -115,8 +117,8 @@ jobs:
115117
steps:
116118
- uses: actions/[email protected]
117119
with:
118-
name: artifact
119120
path: dist
121+
merge-multiple: true
120122

121123
- name: upload_source_and_wheels
122124
uses: pypa/[email protected]

0 commit comments

Comments
 (0)