Skip to content

Commit

Permalink
Another windows fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange authored Dec 24, 2024
1 parent d4db26f commit ce73691
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/dists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
# x86 python needs to be available for the win32 wheel
architecture: ${{ ( matrix.os == 'windows-2025' && matrix.target == 'i686' ) && 'x86' || null }}

- name: Add python lib to PATH
if: matrix.os == 'windows-2025'
run: Add-Content $env:GITHUB_PATH "${{ env.pythonLocation }}\lib"

- uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
Expand All @@ -51,8 +55,6 @@ jobs:
args: --release --out dist --interpreter '3.8 3.9 3.10 3.11 3.12 3.13 3.13t'
rust-toolchain: stable
docker-options: -e CI
env:
LIBPATH: ${{ env.pythonLocation }}\lib

- run: ${{ (matrix.os == 'windows-2025' && 'dir') || 'ls -ltra' }} dist/

Expand Down

0 comments on commit ce73691

Please sign in to comment.