fix: 🐛 kill server before trying to delete exe on windows
This commit is contained in:
parent
64552dc881
commit
286fb0e20e
1 changed files with 3 additions and 1 deletions
4
.github/workflows/main.yaml
vendored
4
.github/workflows/main.yaml
vendored
|
|
@ -138,7 +138,9 @@ jobs:
|
|||
# Package again and build+upload the .vsix
|
||||
|
||||
- name: Remove exe directory (Windows)
|
||||
run: Remove-Item -Path "extension/server/exe" -Recurse -Force
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue