From f9e254e647a09a2a097fdbd2175249d1ca4af3fd 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/windows-npm.yml b/.github/workflows/windows-npm.yml index 083afc5..5379664 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/' + - 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