From 3cef859e4e246e9e1bacce3ef76910aa2db7dd6b Mon Sep 17 00:00:00 2001 From: Mirko Galimberti Date: Sat, 28 Sep 2024 17:14:50 +0200 Subject: [PATCH] Setup Python before processing ANGLE build (#121) * Setup Python before processing ANGLE build * Setup Python before processing ANGLE build --- .github/workflows/windows_angle_wheels.yml | 3 +++ ci/windows_ci.ps1 | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows_angle_wheels.yml b/.github/workflows/windows_angle_wheels.yml index f43a3b1..130daf6 100644 --- a/.github/workflows/windows_angle_wheels.yml +++ b/.github/workflows/windows_angle_wheels.yml @@ -25,6 +25,9 @@ jobs: DEPOT_TOOLS_WIN_TOOLCHAIN: 0 steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: 3.x - name: Get dependecies run: | . .\ci\windows_ci.ps1 diff --git a/ci/windows_ci.ps1 b/ci/windows_ci.ps1 index cdaa605..666fd21 100644 --- a/ci/windows_ci.ps1 +++ b/ci/windows_ci.ps1 @@ -72,7 +72,6 @@ function Get-angle-deps() { function Build-angle() { $env:PATH="$(pwd)\depot_tools;$env:PATH" - $env:PATH="$(python -c "import os; print(';'.join([p for p in os.environ['PATH'].split(';') if 'Python' not in p and 'python' not in p and 'Chocolatey' not in p]))")" cd angle_src gclient