Skip to content
Myr

[actions] temporary fix for WSL issue

Before adoption: this commit came in with the history the project adopted, so no landing records it.

See https://github.com/Vampire/setup-wsl/issues/76

authored by Jordan Harband · committed by Jordan Harband · parent 34ace59 · Browse files · 1 file+20 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+20 added−0 removed

  • other:+20 added−0 removed

1 file+20 added−0 removed

modified:.github/workflows/windows-npm.yml+20 added
131 unmodified lines
132 - uses: Vampire/setup-wsl@v3133 with:134 distribution: ${{ matrix.wsl-distrib }}135 additional-packages: bash git curl ca-certificates wget136137 # see https://github.com/Vampire/setup-wsl/issues/76#issuecomment-3258201135138 - shell: 'wsl-bash {0}'139 run: 'sed -i s/ftp.debian.org/archive.debian.org/ /etc/apt/sources.list'140 - uses: Vampire/setup-wsl@v3141 with:142 distribution: ${{ matrix.wsl-distrib }}143 additional-packages: bash git curl ca-certificates wget144 update: 'true'145146 - name: Retrieve nvm on WSL147 run: |148 if [ -z "${{ matrix.method }}" ]; then149 curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | bash
35 unmodified lines
185 - uses: Vampire/setup-wsl@v3186 with:187 distribution: ${{ matrix.wsl-distrib }}188 additional-packages: bash git curl ca-certificates wget189190 # see https://github.com/Vampire/setup-wsl/issues/76#issuecomment-3258201135191 - shell: 'wsl-bash {0}'192 run: 'sed -i s/ftp.debian.org/archive.debian.org/ /etc/apt/sources.list'193 - uses: Vampire/setup-wsl@v3194 with:195 distribution: ${{ matrix.wsl-distrib }}196 additional-packages: bash git curl ca-certificates wget197 update: 'true'198199 - name: Retrieve nvm on WSL200 run: |201 if [ -z "${{ matrix.method }}" ]; then202 curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | bash
14 unmodified lines