From 44a3cdb9b8738ae02237972ec58728a568f9d552 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 5 Sep 2025 09:20:08 -0700 Subject: [PATCH] [actions] temporary fix for WSL issue See https://github.com/Vampire/setup-wsl/issues/76 --- .github/workflows/windows-npm.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/windows-npm.yml b/.github/workflows/windows-npm.yml index 083afc5..cf88692 100644 --- a/.github/workflows/windows-npm.yml +++ b/.github/workflows/windows-npm.yml @@ -133,6 +133,16 @@ jobs: with: distribution: ${{ matrix.wsl-distrib }} 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 run: | if [ -z "${{ matrix.method }}" ]; then @@ -176,6 +186,16 @@ jobs: with: distribution: ${{ matrix.wsl-distrib }} 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 run: | if [ -z "${{ matrix.method }}" ]; then