From e8ebff1e6b07dfaafff81ee7013bb019cbfe2075 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Wed, 9 Aug 2023 22:00:01 -0700 Subject: fix: :bug: add server/exe to .vscodeignore insteading of manually removing --- .github/workflows/main.yaml | 17 +---------------- extension/.vscodeignore | 4 +++- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ef00302e..6111856d 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -135,22 +135,7 @@ jobs: npm run test if: matrix.os != 'ubuntu-20.04' - # Package again and build+upload the .vsix - - - name: Remove exe directory (Windows) - run: | - FOR /F "tokens=5" %a IN ('netstat -ano ^| findstr "65432"') DO taskkill /PID %a /F - Remove-Item -Path "extension/server/exe" -Recurse -Force - 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 - npm run package + # Upload .vsix artifact - name: Upload .vsix as an artifact uses: actions/upload-artifact@v2 diff --git a/extension/.vscodeignore b/extension/.vscodeignore index d3326fdc..51d66585 100644 --- a/extension/.vscodeignore +++ b/extension/.vscodeignore @@ -24,4 +24,6 @@ react-app/src scripts/data scripts/env -scripts/.continue_env_installed \ No newline at end of file +scripts/.continue_env_installed + +server/exe/** \ No newline at end of file -- cgit v1.2.3-70-g09d2