Skip to content

Commit 6660e92

Browse files
authored
Update publish-to-pypi.yml
1 parent 60d2f6c commit 6660e92

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish-to-pypi.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,16 @@ jobs:
5252
- name: (Windows x64) Retarget wheel
5353
if: matrix.config.name == 'windows-x64'
5454
run: |
55+
rm dist/*.tar.gz
5556
uv run python -m ensurepip
5657
uv run python -m pip install wheel
57-
for f in dist/pylsl*.whl; do uv run wheel tags --platform-tag win_amd64 "$f"; done
58+
for f in dist/pylsl*.whl; do uv run wheel tags --platform-tag win_amd64 "$f" && rm "$f"; done
5859
- name: (Windows 32) Retarget wheel
5960
if: matrix.config.name == 'windows-x86'
6061
run: |
62+
rm dist/*.tar.gz
6163
uv run python -m ensurepip
6264
uv run python -m pip install wheel
63-
for f in dist/pylsl*.whl; do uv run wheel tags --platform-tag win32 "$f"; done
65+
for f in dist/pylsl*.whl; do uv run wheel tags --platform-tag win32 "$f" && rm "$f"; done
6466
- name: Publish package distributions to PyPI
6567
run: uv publish

0 commit comments

Comments
 (0)