ci: 修复 Gitea Actions 语法 + 添加 checkout 步骤
Some checks failed
Build Windows / Build Windows (push) Failing after 36s

问题:
- Gitea Actions 使用 ${{ gitea.xxx }} 而非 ${{ github.xxx }}
- 缺少 actions/checkout@v4 步骤获取代码

修复:
- 添加 checkout 步骤
- 修正 Gitea 语法
This commit is contained in:
大麦
2026-03-10 19:40:12 +08:00
parent 41508bcc7f
commit 5b3d1af415

View File

@@ -11,6 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
@@ -89,4 +92,4 @@ jobs:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GITEA_SERVER_URL: http://192.168.120.110:4000
GITEA_REPOSITORY: damai/readflow
GITEA_REF_NAME: ${{ github.ref_name }}
GITEA_REF_NAME: ${{ gitea.ref_name }}