ci: 添加 Gitea Actions 示例工作流

- 新增 ci.yaml 文件,定义 Gitea Actions 示例
This commit is contained in:
hu xiaotong
2025-06-26 13:34:30 +08:00
parent 62e8a6a89e
commit b127e23c15

View File

@@ -11,10 +11,17 @@ jobs:
runs-on: gitea_labels
steps:
- name: 检出代码
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: 显示工作目录
run: |
echo "📥 检出代码到工作目录..."
echo "📥 代码检出完成"
echo "当前目录: $(pwd)"
echo "工作目录: ${{ gitea.workspace }}"
echo "目录内容:"
ls -la
- name: 安装Go环境
run: |