From 8d198663e116c7c77b7e59015bc6032736f71f6e Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Wed, 9 Aug 2023 21:06:09 -0700 Subject: fix: :bug: use windows equivalent of rm -rf --- .github/workflows/main.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 269e20be..27b802e7 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -136,10 +136,18 @@ jobs: if: matrix.os != 'ubuntu-20.04' # Package again and build+upload the .vsix - - name: Remove exe directory and re-package + + - name: Remove exe directory (Windows) + run: rmdir /s /q extension/server/exe + if: matrix.os == 'windows-latest' + + - name: Remove exe directory (Mac/Linux) + run: rm -rf extension/server/exe + if: matrix.os != 'windows-latest' + + - name: Re-package the extension run: | cd extension - rm -rf server/exe npm run package - name: Upload .vsix as an artifact -- cgit v1.2.3-70-g09d2