Skip to content

Commit 1b22bba

Browse files
committed
Fix PyPI publishing
1 parent 0034fe9 commit 1b22bba

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/package-pypi.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,12 @@ jobs:
120120
pattern: picard-?dist*
121121
path: dist/
122122
merge-multiple: true
123-
- name: Verify distributions
123+
- name: Prepare distributions
124124
run: |
125125
ls -l dist/
126+
# Remove zip source distribution (only a single sdist is allowed)
127+
rm dist/picard-*.zip*
126128
- name: Publish package distributions to PyPI
127129
uses: pypa/gh-action-pypi-publish@release/v1
130+
with:
131+
skip-existing: true

0 commit comments

Comments
 (0)