[actions] temporary fix for WSL issue

See https://github.com/Vampire/setup-wsl/issues/76
This commit is contained in:
Jordan Harband 2025-09-05 09:20:08 -07:00
parent 34ace599a2
commit 44a3cdb9b8
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56

View File

@ -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