Skip to content

Commit 5c9db71

Browse files
committed
feat: ci 增加 lfs
1 parent 79c451a commit 5c9db71

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/backend-ci-cd.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,16 @@ jobs:
7070
steps:
7171
- name: Checkout code
7272
uses: actions/checkout@v4
73+
with:
74+
lfs: true
75+
76+
- name: Cache Git LFS
77+
uses: actions/cache@v4
78+
with:
79+
path: .git/lfs
80+
key: ${{ runner.os }}-git-lfs-${{ hashFiles('.gitattributes') }}
81+
restore-keys: |
82+
${{ runner.os }}-git-lfs-
7383
7484
- name: Get version
7585
id: get_version

0 commit comments

Comments
 (0)