ccache again...

This commit is contained in:
Cameron Clough
2024-06-20 01:59:25 +01:00
parent 62613cc827
commit c0fed4788a
+2 -9
View File
@@ -25,22 +25,15 @@ jobs:
git submodule update --init --filter blob:none agnos-kernel-sdm845
echo "ref=$(git ls-tree HEAD | awk '$4 == "agnos-kernel-sdm845"' | awk '{print $3}')" >> "$GITHUB_OUTPUT"
- uses: actions/cache/restore@v4
id: restore-cache
- uses: hendrikmuhs/ccache-action@c92f40bee50034e84c763e33b317c77adaa81c92
with:
key: kernel-${{ steps.kernel-submodule.outputs.ref }}
path: agnos-kernel-sdm845/out
restore-keys: |
kernel-
create-symlink: true
- run: ./build_kernel.sh
- uses: actions/cache/save@v4
if: always()
with:
key: ${{ steps.restore-cache.outputs.cache-primary-key }}
path: agnos-kernel-sdm845/out
- uses: actions/upload-artifact@v4
with:
name: boot.img