From f6250b3e2e536e182dc5a3112115bc6070849df4 Mon Sep 17 00:00:00 2001 From: hu xiaotong <416314413@163.com> Date: Thu, 26 Jun 2025 14:39:56 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=B7=BB=E5=8A=A0=20Gitea=20Actions=20?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 ci.yaml 文件,定义 Gitea Actions 示例 --- .gitea/workflows/ci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index b3658fb..78058b8 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -139,6 +139,12 @@ jobs: run: | echo "📦 构建产物信息:" 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 echo "文件大小: $(du -h epic-game-service | cut -f1)"