Skip to content

Commit

Permalink
[actions] only pull required lfs files in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lmnotran committed Jun 26, 2024
1 parent 667ab4f commit 40f519c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ jobs:
key: ${{ matrix.gcc_ver }}
verbose: 2

- name: Append LFS include config to GSDK .lfsconfig
run: |
git -C third_party/silabs/gecko_sdk checkout -- .lfsconfig
echo 'fetchinclude = "platform/emdrv/nvm3/lib/libnvm3_*_gcc.a,platform/radio/rail_lib/autogen/librail_release/librail_config_mgm*_gcc.a,platform/radio/rail_lib/autogen/librail_release/*efr32xg*_gcc_release.a"' >> third_party/silabs/gecko_sdk/.lfsconfig
- name: Create LFS file hash list
run: git -C third_party/silabs/gecko_sdk lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id

Expand Down

0 comments on commit 40f519c

Please sign in to comment.