diff options
-rw-r--r-- | .github/workflows/ci.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f4da0d9c..f57513d3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,12 +87,26 @@ jobs: curl -fsSL https://deno.land/x/install/install.sh | sh -s v1.5.1 echo "$HOME/.deno/bin" >> $env:GITHUB_PATH + - name: Install Python + uses: actions/setup-python@v1 + with: + python-version: "2.7" + architecture: x64 + - name: Install Node uses: actions/setup-node@v2 with: node-version: "14" check-latest: true + - name: Remove unused versions of Python + if: startsWith(matrix.os, 'windows') + run: |- + $env:PATH -split ";" | + Where-Object { Test-Path "$_\python.exe" } | + Select-Object -Skip 1 | + ForEach-Object { Move-Item "$_" "$_.disabled" } + - name: Setup gcloud (unix) if: | runner.os != 'Windows' && |