ci: 添加 Gitea Actions 示例工作流

- 新增 ci.yaml 文件,定义 Gitea Actions 示例
This commit is contained in:
hu xiaotong
2025-06-26 14:39:56 +08:00
parent b4da7bce11
commit f6250b3e2e

View File

@@ -139,6 +139,12 @@ jobs:
run: | run: |
echo "📦 构建产物信息:" echo "📦 构建产物信息:"
ls -la epic-game-service ls -la epic-game-service
# 自动安装 file 命令
if command -v apk &> /dev/null; then
apk add --no-cache file
elif command -v apt-get &> /dev/null; then
apt-get update && apt-get install -y file
fi
file epic-game-service file epic-game-service
echo "文件大小: $(du -h epic-game-service | cut -f1)" echo "文件大小: $(du -h epic-game-service | cut -f1)"