Skip to content

Commit

Permalink
Attempting to fix #99 by doing git lfs pull in each submodule, and ca…
Browse files Browse the repository at this point in the history
…ching the results.
  • Loading branch information
cwidisgroup committed May 16, 2023
1 parent ad8842c commit f261e36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

# Git LFS
- name: Create LFS file list
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
run: (git lfs ls-files -l ; git submodules foreach git lfs ls-files -l) | cut -d' ' -f1 | sort > .lfs-assets-id

- name: Restore LFS cache
uses: actions/cache@v3
Expand All @@ -44,6 +44,7 @@ jobs:
- name: Git LFS Pull
run: |
git lfs pull
git submodule foreach git lfs pull
git add .
git reset --hard
Expand Down

0 comments on commit f261e36

Please sign in to comment.