diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 1dc2040..85b7535 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -106,7 +106,7 @@ jobs: uses: pypa/cibuildwheel@v2.21.2 env: CIBW_BEFORE_ALL_MACOS: curl -LsSf https://astral.sh/uv/install.sh | sh - CIBW_BEFORE_ALL_WINDOWS: powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" + CIBW_BEFORE_ALL_WINDOWS: pwsh -c "Install-Module ExecutionPolicy -Scope AllUsers"; powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" CIBW_TEST_REQUIRES: pytest CIBW_TEST_COMMAND: 'pytest {package}' CIBW_BUILD: ${{ matrix.pybuilds }}