From a8cee266350e917f381c74222150aa899c76248e Mon Sep 17 00:00:00 2001 From: Travis Runner Date: Mon, 4 Dec 2023 03:16:42 -0500 Subject: [PATCH] Debug Microsoft Store download of Alpine Linux for WSL --- .github/workflows/debug-download.yml | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/debug-download.yml diff --git a/.github/workflows/debug-download.yml b/.github/workflows/debug-download.yml new file mode 100644 index 000000000..0ff2ace77 --- /dev/null +++ b/.github/workflows/debug-download.yml @@ -0,0 +1,34 @@ +# https://github.com/actions/runner-images/discussions/8791, with minor tweaks. +name: Debug download +on: + push: {} +jobs: + test: + name: Test + runs-on: windows-latest + steps: + - name: Setup Debian + uses: Vampire/setup-wsl@v2 + with: + distribution: Debian + additional-packages: python3-pip + - name: Install HTTPie in Debian + shell: wsl-bash {0} + run: python3 -m pip install --upgrade pip wheel httpie + - name: Install HTTPie in Windows + run: python -m pip install --upgrade pip wheel httpie + - name: Check Python version in Debian + shell: wsl-bash {0} + run: python3 --version + - name: Check Python version in Windows + run: python --version + - name: Check HTTPie version in Debian + shell: wsl-bash {0} + run: http --version + - name: Check HTTPie version in Windows + run: http --version + - name: Setup tmate session + if: always() + uses: mxschmitt/action-tmate@v3 + with: + limit-access-to-actor: true