Skip to content

Commit f9e254e

Browse files
committed
[actions] temporary fix for WSL issue
See Vampire/setup-wsl#76
1 parent 9602f4f commit f9e254e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/windows-npm.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,16 @@ jobs:
133133
with:
134134
distribution: ${{ matrix.wsl-distrib }}
135135
additional-packages: bash git curl ca-certificates wget
136+
137+
# see https://github.com/Vampire/setup-wsl/issues/76#issuecomment-3258201135
138+
- shell: 'wsl-bash {0}'
139+
run: 'sed -i s/ftp.debian.org/archive.debian.org/'
140+
- uses: Vampire/setup-wsl@v3
141+
with:
142+
distribution: ${{ matrix.wsl-distrib }}
143+
additional-packages: bash git curl ca-certificates wget
144+
update: 'true'
145+
136146
- name: Retrieve nvm on WSL
137147
run: |
138148
if [ -z "${{ matrix.method }}" ]; then

0 commit comments

Comments
 (0)