From 3dec5fac695bdec6ec863299143b969c212dba1e Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Mon, 4 May 2026 11:26:06 +0100 Subject: [PATCH] =?UTF-8?q?ci:=20runs-on=20ubuntu-latest=EF=BC=88=E4=B8=8D?= =?UTF-8?q?=E5=B8=A6=20:host=20=E5=90=8E=E7=BC=80=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit act_runner 注册时只把 label 名发给 gitea('ubuntu-latest'), ':host' 后缀只在 runner 自己的 config.yaml 里用来选 executor。 workflow 用 'ubuntu-latest:host' 会一直 queued。 --- .gitea/workflows/deploy-cube.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy-cube.yml b/.gitea/workflows/deploy-cube.yml index 97e976e..18a8eb0 100644 --- a/.gitea/workflows/deploy-cube.yml +++ b/.gitea/workflows/deploy-cube.yml @@ -14,7 +14,7 @@ on: jobs: build-and-deploy: - runs-on: ubuntu-latest:host # host shell executor,PATH 需要手动加 ~/.cargo/bin + runs-on: ubuntu-latest # 解析到 host shell executor(gnoc 用户),PATH 需要手动加 ~/.cargo/bin env: APP: cube IMAGE: registry.famzheng.me/mochi/cube