cicd
This commit is contained in:
parent
5603edb1fc
commit
bbbc2a3dc2
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user