fix: 🐛 add server/exe to .vscodeignore insteading of manually removing
This commit is contained in:
parent
286fb0e20e
commit
e8ebff1e6b
2 changed files with 4 additions and 17 deletions
17
.github/workflows/main.yaml
vendored
17
.github/workflows/main.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -24,4 +24,6 @@ react-app/src
|
|||
|
||||
scripts/data
|
||||
scripts/env
|
||||
scripts/.continue_env_installed
|
||||
scripts/.continue_env_installed
|
||||
|
||||
server/exe/**
|
||||
Loading…
Add table
Reference in a new issue