Skip to content

Commit

Permalink
workflow: check hook before execute git lfs install
Browse files Browse the repository at this point in the history
  • Loading branch information
laiwenzh committed Dec 13, 2024
1 parent 0124863 commit 2ab9253
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:

- name: Pull LFS
run: |
git lfs install
if [ ! -f .git/hooks/pre-push ]; then
git lfs install
fi
git lfs pull
- name: Init submodule
Expand Down Expand Up @@ -110,7 +112,9 @@ jobs:

- name: Pull LFS
run: |
git lfs install
if [ ! -f .git/hooks/pre-push ]; then
git lfs install
fi
git lfs pull
- name: Init submodule
Expand Down

0 comments on commit 2ab9253

Please sign in to comment.