ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
This commit is contained in:
@@ -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)"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user