From 1e2e83ad3f28ee829ba556aa47a14ef5a41695b5 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 31 May 2023 15:09:27 +0300 Subject: [PATCH] Fix CI script --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 12b5e77..eb268ca 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,4 +38,9 @@ jobs: - name: Install PlatformIO Core run: | python3 get-platformio.py - ~/.platformio/penv/bin/pio system info + if [ "$RUNNER_OS" == "Windows" ]; then + ~/.platformio/penv/Scripts/pio.exe system info + else + ~/.platformio/penv/bin/pio system info + fi + shell: bash