summaryrefslogtreecommitdiff
path: root/.github/workflows/main.yaml
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-08-09 21:06:09 -0700
committerNate Sesti <sestinj@gmail.com>2023-08-09 21:06:09 -0700
commit8d198663e116c7c77b7e59015bc6032736f71f6e (patch)
tree89c9d6ee81dc77f0121c8bed9ec90e2fdb355c1e /.github/workflows/main.yaml
parent4636c9590154d6b5995948003da212eb25003750 (diff)
downloadsncontinue-8d198663e116c7c77b7e59015bc6032736f71f6e.tar.gz
sncontinue-8d198663e116c7c77b7e59015bc6032736f71f6e.tar.bz2
sncontinue-8d198663e116c7c77b7e59015bc6032736f71f6e.zip
fix: :bug: use windows equivalent of rm -rf
Diffstat (limited to '.github/workflows/main.yaml')
-rw-r--r--.github/workflows/main.yaml12
1 files 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