1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00

Revert "ci: don't install python (#8961)" (#8963)

This reverts commit 5937ee3fba.
This commit is contained in:
Ryan Dahl 2021-01-02 23:19:46 -05:00 committed by GitHub
parent 5937ee3fba
commit 0a509152d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,12 +87,26 @@ jobs:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v1.5.1 curl -fsSL https://deno.land/x/install/install.sh | sh -s v1.5.1
echo "$HOME/.deno/bin" >> $env:GITHUB_PATH 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 - name: Install Node
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: "14" node-version: "14"
check-latest: true 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) - name: Setup gcloud (unix)
if: | if: |
runner.os != 'Windows' && runner.os != 'Windows' &&