Skip to content

Commit

Permalink
Update publish-to-pypi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cboulay authored Dec 12, 2024
1 parent 60d2f6c commit 6660e92
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,16 @@ jobs:
- name: (Windows x64) Retarget wheel
if: matrix.config.name == 'windows-x64'
run: |
rm dist/*.tar.gz
uv run python -m ensurepip
uv run python -m pip install wheel
for f in dist/pylsl*.whl; do uv run wheel tags --platform-tag win_amd64 "$f"; done
for f in dist/pylsl*.whl; do uv run wheel tags --platform-tag win_amd64 "$f" && rm "$f"; done
- name: (Windows 32) Retarget wheel
if: matrix.config.name == 'windows-x86'
run: |
rm dist/*.tar.gz
uv run python -m ensurepip
uv run python -m pip install wheel
for f in dist/pylsl*.whl; do uv run wheel tags --platform-tag win32 "$f"; done
for f in dist/pylsl*.whl; do uv run wheel tags --platform-tag win32 "$f" && rm "$f"; done
- name: Publish package distributions to PyPI
run: uv publish

0 comments on commit 6660e92

Please sign in to comment.