更新 .gitea/workflows/dev.yml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
bichangxiong 2025-06-26 14:02:17 +08:00
parent 707ec002b2
commit 0cfdac1bae

View File

@ -18,7 +18,7 @@ jobs:
- name: cp - name: cp
run: copy ./ruoyi-modules/Property/target/Property.jar C:\devtool\server run: copy ./ruoyi-modules/Property/target/Property.jar C:\devtool\server
- name: kill - name: kill
run: Get-NetTCPConnection -LocalPort 10001 -State Listen -ErrorAction SilentlyContinue | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue } run: Get-NetTCPConnection -LocalPort 10001 -State Listen -ErrorAction SilentlyContinue | Where-Object { $_.OwningProcess -ne $null } | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue }
- name: run - name: run
run: java -jar C:\devtool\server\Property.jar run: java -jar C:\devtool\server\Property.jar