自动同步: 2026-03-02 01:00
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
{
|
||||
"WARNING": "This file is automatically generated by act-runner. Do not edit it manually unless you know what you are doing. Removing this file will cause act runner to re-register as a new runner.",
|
||||
"id": 3,
|
||||
"uuid": "4974ee15-8d34-4173-8d87-15fb1ad23066",
|
||||
"name": "starmen1265-imini-S",
|
||||
"token": "b0b5ddb7f467e3d463d6aa196088219cff7e279a",
|
||||
"id": 10,
|
||||
"uuid": "d0c1c656-076b-466a-a93c-f76ba3919876",
|
||||
"name": "local-runner",
|
||||
"token": "6a0604b731220e1871d605bdfe1d5a704ddff212",
|
||||
"address": "http://192.168.1.22:8418",
|
||||
"labels": [
|
||||
"linux:host",
|
||||
"amd64:host"
|
||||
"linux:host"
|
||||
],
|
||||
"ephemeral": false
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
# 2026-03-02 工作日志
|
||||
|
||||
## Gitea Actions CI 问题排查
|
||||
|
||||
### 问题描述
|
||||
- CI 输出被截断,看不到详细错误信息
|
||||
- 多次修改 ci.yml 但输出不变
|
||||
|
||||
### 根本原因
|
||||
1. **workflow 缓存问题**:act runner 缓存了 workflow 文件
|
||||
2. **分支触发问题**:ci.yml 只在 main/develop 触发,feature 分支触发的是 test.yml
|
||||
|
||||
### 解决方案
|
||||
1. 清除 act 缓存:`rm -rf ~/.cache/act ~/.cache/actcache`
|
||||
2. 重启 act_runner daemon
|
||||
3. 修改 ci.yml 触发条件为所有分支
|
||||
4. 更新自定义镜像添加 Node.js
|
||||
|
||||
### 当前状态
|
||||
- 正在构建新镜像 `gitea-runner-php:latest`(含 Node.js)
|
||||
- 添加了 nodejs 和 npm 到 Dockerfile
|
||||
|
||||
### 后续
|
||||
- 镜像构建完成后需要重新测试 CI
|
||||
Reference in New Issue
Block a user