From c0f946fd518b2eafbc131907e0abd61dad634cc6 Mon Sep 17 00:00:00 2001 From: chendelian <116870791@qq.com> Date: Sat, 6 Jun 2026 15:35:57 +0800 Subject: [PATCH] fix(ci): pull git lfs after checkout before building zip Add git lfs pull step with mp3 size/header diagnostics before packaging. Co-authored-by: Cursor --- .gitea/workflows/release.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 1b0fc2f..0936725 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -18,6 +18,19 @@ jobs: - name: Checkout uses: https://git.jc2009.com/admin/actions-checkout@v4 + - name: Pull Git LFS + run: | + set -e + + git lfs install + git lfs pull + + echo "Music files after git lfs pull:" + find music -type f -name "*.mp3" -exec ls -lh {} \; + + echo "MP3 file headers:" + find music -type f -name "*.mp3" -exec sh -c 'echo "---- $1"; head -c 80 "$1"; echo' _ {} \; + - name: Show workspace run: | pwd