From 5c9db71d515c2ed37a596ae6b33c795016570cf8 Mon Sep 17 00:00:00 2001 From: yokowu <18836617@qq.com> Date: Thu, 17 Jul 2025 20:27:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20ci=20=E5=A2=9E=E5=8A=A0=20lfs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/backend-ci-cd.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/backend-ci-cd.yml b/.github/workflows/backend-ci-cd.yml index a313152..178bb93 100644 --- a/.github/workflows/backend-ci-cd.yml +++ b/.github/workflows/backend-ci-cd.yml @@ -70,6 +70,16 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + lfs: true + + - name: Cache Git LFS + uses: actions/cache@v4 + with: + path: .git/lfs + key: ${{ runner.os }}-git-lfs-${{ hashFiles('.gitattributes') }} + restore-keys: | + ${{ runner.os }}-git-lfs- - name: Get version id: get_version