ci: 添加 Gitea Actions 示例工作流

- 新增 ci.yaml 文件,定义 Gitea Actions 示例
This commit is contained in:
hu xiaotong
2025-06-26 17:27:34 +08:00
parent 7d4440b6ea
commit cc482ca167

View File

@@ -27,7 +27,7 @@ jobs:
# 拉取代码使用token鉴权 # 拉取代码使用token鉴权
git clone --depth=1 -b "$BRANCH_NAME" "http://1c18ee1ab9a9cb291506d0c5c016a33be7d59e8c:x-oauth-basic@gitea.htoop.cn/${{ gitea.repository }}.git" . git clone --depth=1 -b "$BRANCH_NAME" "http://1c18ee1ab9a9cb291506d0c5c016a33be7d59e8c:x-oauth-basic@gitea.htoop.cn/${{ gitea.repository }}.git" .
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "❌ 代码检出失败" echo "❌ 代码检出失败1"
exit 1 exit 1
fi fi