From a6c23178f99e688574137b4df6fc5683be6477bc Mon Sep 17 00:00:00 2001 From: Stepan Usatiuk Date: Mon, 15 Jul 2024 19:37:54 +0200 Subject: [PATCH] CI: add sysroot in cache --- .github/workflows/ficus.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ficus.yml b/.github/workflows/ficus.yml index 9d826f2ed..13df786b1 100644 --- a/.github/workflows/ficus.yml +++ b/.github/workflows/ficus.yml @@ -111,10 +111,11 @@ jobs: id: cache-toolchain-s2 uses: actions/cache/restore@v4 env: - cache-name: cache-toolchain-s2 + cache-name: cache-toolchain-s2-v2 with: path: | toolchain/gcc-x86_64-ficus-prefix + sysroot key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ficus-toolchain/*.sh') }}-${{ hashFiles('ficus-toolchain/newlib/newlib-4.4.0.20231231/**') }} - if: ${{ steps.cache-toolchain-s2.outputs.cache-hit != 'true' }} @@ -125,10 +126,11 @@ jobs: id: cache-toolchain-s2-save uses: actions/cache/save@v4 env: - cache-name: cache-toolchain-s2 + cache-name: cache-toolchain-s2-v2 with: path: | toolchain/gcc-x86_64-ficus-prefix + sysroot key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ficus-toolchain/*.sh') }}-${{ hashFiles('ficus-toolchain/newlib/newlib-4.4.0.20231231/**') }} - name: Tar the toolchain