瀏覽代碼

Update build-kernel-a12.yml

James McConnell 1 年之前
父節點
當前提交
36e29dbe6d
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      .github/workflows/build-kernel-a12.yml

+ 7 - 0
.github/workflows/build-kernel-a12.yml

@@ -46,6 +46,13 @@ jobs:
           remove-haskell: 'true'
           remove-codeql: 'true'
 
+      - name: Setup ccache
+        uses: hendrikmuhs/ccache-action@v1
+        with:
+          key: gki-kernel-aarch64-${{ env.CONFIG }}  # Use CONFIG as the cache key
+          max-size: 2G
+          save: true  # Ensure the cache is saved
+
       - name: Download prebuilt toolchain
         run: |
           AOSP_MIRROR=https://android.googlesource.com