summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2021-01-02 23:19:46 -0500
committerGitHub <noreply@github.com>2021-01-02 23:19:46 -0500
commit0a509152d16e42f3957a9b2286d5877321d0e331 (patch)
tree74f5d5627903794300307fa64bd38a7692a1ce05
parent5937ee3fba24dac6be99c8cb0b4c9709d4656f71 (diff)
Revert "ci: don't install python (#8961)" (#8963)
This reverts commit 5937ee3fba24dac6be99c8cb0b4c9709d4656f71.
-rw-r--r--.github/workflows/ci.yml14
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' &&