diff --git a/.github/workflows/build-python-packages.yml b/.github/workflows/build-python-packages.yml index cb0a6f9..63da602 100644 --- a/.github/workflows/build-python-packages.yml +++ b/.github/workflows/build-python-packages.yml @@ -26,10 +26,22 @@ on: env: VERSION: ${{ inputs.VERSION || '3.12.3' }} - +defaults: + run: + shell: pwsh jobs: + install_pwsh_git: + runs-on: setup-actions-windows-arm64-4-core + + steps: + - name: Print runner OS + run: echo Runner OS is ${{ runner.os }} + - name: Setup Dependencies + run: | + Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) + choco install pwsh git generate_matrix: runs-on: ubuntu-latest @@ -70,13 +82,7 @@ jobs: env: ARTIFACT_NAME: python-${{ inputs.VERSION || '3.12.3' }}-${{ matrix.platform }}-${{ matrix.arch }} steps: - - name: Print runner OS - run: echo Runner OS is ${{ runner.os }} - - name: Setup Dependencies - if: runner.os == 'setup-actions-windows-arm64-4-core' - run: | - Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) - choco install pwsh git + - name: Check out repository code uses: actions/checkout@v4 with: