Skip to content

Commit

Permalink
Retag wheels for windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cboulay committed Dec 12, 2024
1 parent 4516330 commit d815f20
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,17 @@ jobs:
uses: astral-sh/setup-uv@v4
- name: Build Package
run: uv build
- name: (Windows x64) Retarget wheel
if: matrix.config.name == 'windows-x64'
run: |
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 dist/%~nxf
- name: (Windows 32) Retarget wheel
if: matrix.config.name == 'windows-x86'
run: |
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 dist/%~nxf
- name: Publish package distributions to PyPI
run: uv publish

0 comments on commit d815f20

Please sign in to comment.