From ff16ca814f7ab95ee24dcc8cb0b76a28adaee4de Mon Sep 17 00:00:00 2001 From: Mason Tran Date: Thu, 30 May 2024 15:30:11 -0400 Subject: [PATCH] [github-actions] cache ARM Toolchain between builds --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc81b446..8fc0dcc9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,7 +79,7 @@ jobs: - name: Restore gecko_sdk LFS cache uses: actions/cache@v4 - id: lfs-cache + id: lfs-cache-gecko_gsdk with: path: .git/modules/third_party/silabs/gecko_sdk/lfs key: lfs-${{ hashFiles('.lfs-assets-id') }} @@ -87,6 +87,13 @@ jobs: - name: Git LFS Pull run: git -C third_party/silabs/gecko_sdk lfs pull + - name: Restore ARM Toolchain + uses: actions/cache@v4 + id: cache-arm-toolchain + with: + path: ~/.local/${{ matrix.gcc_extract_dir }} + key: ${{ matrix.gcc_extract_dir }} + - name: Bootstrap ARM Toolchain run: | script/bootstrap arm_toolchain ${{ matrix.gcc_download_url }} ${{ matrix.gcc_extract_dir }}