Skip to content

Commit

Permalink
Setup workflows to pull git LFS recursively too.
Browse files Browse the repository at this point in the history
  • Loading branch information
digisomni committed Oct 1, 2024
1 parent bc9c720 commit 51134f8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
uses: actions/[email protected]
with:
submodules: 'recursive'
lfs: true

- name: 📥 Fetch LFS objects
run: |
git lfs fetch --all
git submodule foreach --recursive 'git lfs fetch --all'
- name: 📥 Checkout LFS objects
run: |
git lfs checkout
git submodule foreach --recursive git lfs checkout
- uses: actions/setup-node@master

Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ jobs:
uses: actions/[email protected]
with:
submodules: 'recursive'
lfs: true

- name: 📥 Fetch LFS objects
run: |
git lfs fetch --all
git submodule foreach --recursive 'git lfs fetch --all'
- name: 📥 Checkout LFS objects
run: |
git lfs checkout
git submodule foreach --recursive git lfs checkout
- uses: actions/setup-node@master

Expand Down

0 comments on commit 51134f8

Please sign in to comment.