mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-17 01:31:45 +00:00
[actions] temporary fix for WSL issue
See https://github.com/Vampire/setup-wsl/issues/76
This commit is contained in:
parent
34ace599a2
commit
44a3cdb9b8
20
.github/workflows/windows-npm.yml
vendored
20
.github/workflows/windows-npm.yml
vendored
@ -133,6 +133,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
distribution: ${{ matrix.wsl-distrib }}
|
distribution: ${{ matrix.wsl-distrib }}
|
||||||
additional-packages: bash git curl ca-certificates wget
|
additional-packages: bash git curl ca-certificates wget
|
||||||
|
|
||||||
|
# see https://github.com/Vampire/setup-wsl/issues/76#issuecomment-3258201135
|
||||||
|
- shell: 'wsl-bash {0}'
|
||||||
|
run: 'sed -i s/ftp.debian.org/archive.debian.org/ /etc/apt/sources.list'
|
||||||
|
- uses: Vampire/setup-wsl@v3
|
||||||
|
with:
|
||||||
|
distribution: ${{ matrix.wsl-distrib }}
|
||||||
|
additional-packages: bash git curl ca-certificates wget
|
||||||
|
update: 'true'
|
||||||
|
|
||||||
- name: Retrieve nvm on WSL
|
- name: Retrieve nvm on WSL
|
||||||
run: |
|
run: |
|
||||||
if [ -z "${{ matrix.method }}" ]; then
|
if [ -z "${{ matrix.method }}" ]; then
|
||||||
@ -176,6 +186,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
distribution: ${{ matrix.wsl-distrib }}
|
distribution: ${{ matrix.wsl-distrib }}
|
||||||
additional-packages: bash git curl ca-certificates wget
|
additional-packages: bash git curl ca-certificates wget
|
||||||
|
|
||||||
|
# see https://github.com/Vampire/setup-wsl/issues/76#issuecomment-3258201135
|
||||||
|
- shell: 'wsl-bash {0}'
|
||||||
|
run: 'sed -i s/ftp.debian.org/archive.debian.org/ /etc/apt/sources.list'
|
||||||
|
- uses: Vampire/setup-wsl@v3
|
||||||
|
with:
|
||||||
|
distribution: ${{ matrix.wsl-distrib }}
|
||||||
|
additional-packages: bash git curl ca-certificates wget
|
||||||
|
update: 'true'
|
||||||
|
|
||||||
- name: Retrieve nvm on WSL
|
- name: Retrieve nvm on WSL
|
||||||
run: |
|
run: |
|
||||||
if [ -z "${{ matrix.method }}" ]; then
|
if [ -z "${{ matrix.method }}" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user