fix: target registered Windows runner

Match staging validation and deployment jobs to the runner label registered in Gitea.
This commit is contained in:
linmeng
2026-07-27 13:03:07 +08:00
parent 742f8f48b2
commit 68c97fe19b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ concurrency:
jobs:
validate:
runs-on: runner-win
runs-on: manman-win
timeout-minutes: 30
defaults:
run:
@@ -77,7 +77,7 @@ jobs:
publish-and-deploy:
if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/staging'
needs: validate
runs-on: runner-win
runs-on: manman-win
timeout-minutes: 45
defaults:
run:
@@ -382,7 +382,7 @@ test("production remains manual-only and separate from staging database automati
test("Gitea staging push uses the Windows runner and immutable ACR images", () => {
const workflow = read(giteaQualityWorkflow);
assert.match(workflow, /runs-on: runner-win/);
assert.match(workflow, /runs-on: manman-win/);
assert.match(workflow, /shell: powershell/);
assert.match(workflow, /crpi-d1feco6itet73spp\.cn-hongkong\.personal\.cr\.aliyuncs\.com\/copse\/jyotisha/);
assert.match(workflow, /secrets\.REGISTRY_USERNAME/);