CI: fix s2 cache?

This commit is contained in:
2024-07-15 17:40:10 +02:00
parent 318f322f2a
commit d0105fffe2

View File

@@ -95,7 +95,7 @@ jobs:
with: with:
path: | path: |
toolchain/gcc-x86_64-ficus-prefix toolchain/gcc-x86_64-ficus-prefix
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ficus-toolchain/*.sh') }}-${{ hashFiles('ficus-toolchain/newlib/**/*') }} key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ficus-toolchain/*.sh') }}-${{ hashFiles('ficus-toolchain/newlib/**') }}
- if: ${{ steps.cache-toolchain-s2.outputs.cache-hit != 'true' }} - if: ${{ steps.cache-toolchain-s2.outputs.cache-hit != 'true' }}
name: Build ficus toolchain s2 name: Build ficus toolchain s2
@@ -109,7 +109,7 @@ jobs:
with: with:
path: | path: |
toolchain/gcc-x86_64-ficus-prefix toolchain/gcc-x86_64-ficus-prefix
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ficus-toolchain/*.sh') }}-${{ hashFiles('ficus-toolchain/newlib/**/*') }} key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ficus-toolchain/*.sh') }}-${{ hashFiles('ficus-toolchain/newlib/**') }}
- name: Tar the toolchain - name: Tar the toolchain
run: cd ${{github.workspace}} && tar -czvf toolchain-ficus.tar.xz toolchain sysroot run: cd ${{github.workspace}} && tar -czvf toolchain-ficus.tar.xz toolchain sysroot