Skip to content

Commit 0eaaac2

Browse files
committed
deployment: merge artifacts in dist dir
1 parent 5cefa0c commit 0eaaac2

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
(github.event_name == 'release' && github.event.action == 'published')
7878
uses: actions/upload-artifact@v7
7979
with:
80+
name: dist-files
8081
path: dist/*.tar.gz
8182
retention-days: 7
8283

@@ -96,12 +97,13 @@ jobs:
9697
- uses: actions/download-artifact@v8
9798
with:
9899
path: dist
100+
merge-multiple: true
99101

100102
- name: upload_source_and_wheels
101103
uses: pypa/gh-action-pypi-publish@v1.14.0
102104
with:
103-
skip_existing: true
104-
repository_url: https://test.pypi.org/legacy/
105+
skip-existing: true
106+
repository-url: https://test.pypi.org/legacy/
105107

106108
upload_pypi:
107109
if: |
@@ -118,8 +120,8 @@ jobs:
118120
steps:
119121
- uses: actions/download-artifact@v8
120122
with:
121-
name: artifact
122123
path: dist
124+
merge-multiple: true
123125

124126
- name: upload_source_and_wheels
125127
uses: pypa/gh-action-pypi-publish@v1.14.0

0 commit comments

Comments
 (0)