Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
lukipuki committed Sep 17, 2024
1 parent 01642b6 commit c9ac6c1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/windows-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ permissions:

jobs:
windows:
name: Build
runs-on: windows-latest
strategy:
matrix:
Expand All @@ -40,18 +41,21 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ matrix.target }}
path: dist

release:
name: Release
runs-on: ubuntu-latest
strategy:
matrix:
target: [x64, x86]
if: "startsWith(github.ref, 'refs/tags/')"
needs: windows
steps:
- uses: actions/download-artifact@v4
with:
name: wheels
name: wheels-${{ matrix.target }}
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
Expand Down

0 comments on commit c9ac6c1

Please sign in to comment.