From a05dd0775e0f9fa5526556c88f030409b5ff3441 Mon Sep 17 00:00:00 2001 From: Gleb Date: Thu, 12 Dec 2024 11:35:07 -0800 Subject: [PATCH] trying setup-wsl --- .github/workflows/bindings-ts.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bindings-ts.yml b/.github/workflows/bindings-ts.yml index 8a64657a7..f4b3381a3 100644 --- a/.github/workflows/bindings-ts.yml +++ b/.github/workflows/bindings-ts.yml @@ -30,13 +30,17 @@ jobs: brew install docker brew install colima colima start - - name: Install winget - uses: Cyberboss/install-winget@1c6f189175e9f015bf1aa113cd1cc6c73efb9d47 - - name: Install or update WSL + - name: Install wsl if: runner.os == 'windows' - uses: Ubuntu/WSL/.github/actions/wsl-install@7ebeb4e1dabf44381674461f8c4da4dc8cd99b33 - with: - distro: Ubuntu + uses: vedantmgoyal9/setup-wsl2@main + - run: apt update && apt upgrade -y + if: runner.os == 'windows' + shell: wsl-run {0} # add this to run the commands inside linux + - run: ls -la + if: runner.os == 'windows' + shell: wsl-run {0} + - run: ls -la + shell: bash - name: Run quickstart run: | docker run -d --name quickstart -p 8000:8000 -e ENABLE_LOGS=true -e NETWORK=local -e ENABLE_SOROBAN_RPC=true stellar/quickstart:testing