diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-08-09 21:37:50 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-08-09 21:37:50 -0700 |
commit | 286fb0e20e48859f129ccf568d03248805bcbc61 (patch) | |
tree | d4a9a237e5d19524271936f9fe3feb43b602e317 /.github | |
parent | 64552dc881509c46aa14253ff94aee9d86ade256 (diff) | |
download | sncontinue-286fb0e20e48859f129ccf568d03248805bcbc61.tar.gz sncontinue-286fb0e20e48859f129ccf568d03248805bcbc61.tar.bz2 sncontinue-286fb0e20e48859f129ccf568d03248805bcbc61.zip |
fix: :bug: kill server before trying to delete exe on windows
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/main.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 55b3e88f..ef00302e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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) |