From 1bf6b9d839bed217dfbde3864ec524de52c3b2d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=88=AA=E5=AE=87?= <3364451258@qq.com> Date: Thu, 21 May 2026 23:40:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20CI/CD=20=E6=BC=94?= =?UTF-8?q?=E7=A4=BA=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/demo.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/demo.yml diff --git a/.gitea/workflows/demo.yml b/.gitea/workflows/demo.yml new file mode 100644 index 0000000..4769f95 --- /dev/null +++ b/.gitea/workflows/demo.yml @@ -0,0 +1,25 @@ +name: 演示流水线 +on: [push] + +jobs: + demo: + runs-on: ubuntu-latest + steps: + - name: 检出代码 + uses: actions/checkout@v4 + + - name: 环境信息 + run: | + echo "✅ 流水线触发成功!" + echo "📦 提交: ${{ github.sha }}" + echo "🌿 分支: ${{ github.ref }}" + echo "💻 运行环境: $(uname -a)" + echo "🐳 当前目录: $(pwd)" + + - name: 文件列表 + run: ls -la + + - name: 模拟测试 + run: | + echo "运行单元测试..." + echo "全部通过 ✅"