mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
ci: don't install python (#8961)
This commit is contained in:
parent
62465ca4ee
commit
5937ee3fba
1 changed files with 0 additions and 14 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -87,26 +87,12 @@ 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' &&
|
||||||
|
|
Loading…
Reference in a new issue