wip #39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file was generated using Kotlin DSL (.github/workflows/foo.main.kts). | |
# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file. | |
# Generated with https://github.com/krzema12/github-workflows-kt | |
name: Debug | |
on: | |
push: {} | |
jobs: | |
test: | |
name: Test | |
runs-on: windows-latest | |
steps: | |
- id: step-0 | |
name: Setup Debian | |
uses: Vampire/setup-wsl@v2 | |
with: | |
distribution: Debian | |
additional-packages: python3-pip | |
- id: step-1 | |
name: Install HTTPie in Debian | |
shell: wsl-bash {0} | |
run: python3 -m pip install --upgrade pip wheel httpie | |
- id: step-2 | |
name: Install HTTPie in Windows | |
run: python -m pip install --upgrade pip wheel httpie | |
- id: step-3 | |
name: Check Python version in Debian | |
shell: wsl-bash {0} | |
run: python3 --version | |
- id: step-4 | |
name: Check Python version in Windows | |
run: python --version | |
- id: step-5 | |
name: Check HTTPie version in Debian | |
shell: wsl-bash {0} | |
run: http --version | |
- id: step-6 | |
name: Check HTTPie version in Windows | |
run: http --version | |
- id: step-7 | |
name: Do the problematic request in Debian | |
shell: wsl-bash {0} | |
run: http -vf POST https://store.rg-adguard.net/api/GetFiles type=ProductId url=9p804crf0395 | |
- id: step-8 | |
name: Do the problematic request in Windows | |
run: http -vf POST https://store.rg-adguard.net/api/GetFiles type=ProductId url=9p804crf0395 | |
- id: step-9 | |
name: Setup tmate session | |
uses: mxschmitt/action-tmate@v3 | |
if: always() |