This commit is contained in:
mocheng 2025-06-25 16:19:54 +08:00
parent 5603edb1fc
commit bbbc2a3dc2

View File

@ -18,7 +18,7 @@ jobs:
- name: cp
run: copy ./ruoyi-modules/Property/target/Property.jar C:\devtool\server
- name: kill
run: cmd /c for /f "tokens=5" %a in ('netstat -ano ^| findstr ":10001" ^| findstr "LISTENING"') do @taskkill /F /PID %a >nul 2>nul
run: Get-NetTCPConnection -LocalPort 10001 -State Listening -ErrorAction SilentlyContinue | ForEach-Object -Process { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }
- name: run
run: java -jar C:\devtool\server\Property.jar