From c9ac6c1c7c9898ea027c7255a5de82fe4ed262a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Pol=C3=A1=C4=8Dek?= Date: Tue, 17 Sep 2024 21:30:15 +0200 Subject: [PATCH] Fix Windows build --- .github/workflows/windows-python.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows-python.yml b/.github/workflows/windows-python.yml index 0d8ace6..af1e101 100644 --- a/.github/workflows/windows-python.yml +++ b/.github/workflows/windows-python.yml @@ -19,6 +19,7 @@ permissions: jobs: windows: + name: Build runs-on: windows-latest strategy: matrix: @@ -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: