Quellcode durchsuchen

ci(cache): bucket per kernel version + root variant

TheWildJames vor 1 Woche
Ursprung
Commit
e0a774246e
1 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 4 4
      .github/workflows/build.yml

+ 4 - 4
.github/workflows/build.yml

@@ -399,7 +399,7 @@ jobs:
       with:
         cache_path: /home/runner/.ccache
         cache_key: ${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ steps.extract.outputs.sublevel }}-${{ inputs.os_patch_level }}-${{ inputs.variant }}
-        cache_bucket: ccache-cache-${{ inputs.version }}
+        cache_bucket: ccache-cache-${{ inputs.version }}-${{ inputs.variant }}
         restore_keys: |
           ${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ steps.extract.outputs.sublevel }}-
 
@@ -411,7 +411,7 @@ jobs:
       with:
         cache_path: /home/runner/.cache/bazel
         cache_key: ${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ steps.extract.outputs.sublevel }}-${{ inputs.os_patch_level }}-${{ inputs.variant }}
-        cache_bucket: bazel-cache-${{ inputs.version }}
+        cache_bucket: bazel-cache-${{ inputs.version }}-${{ inputs.variant }}
         restore_keys: |
           ${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ steps.extract.outputs.sublevel }}-
 
@@ -491,7 +491,7 @@ jobs:
       with:
         cache_path: /home/runner/.ccache
         cache_key: ${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ steps.extract.outputs.sublevel }}-${{ inputs.os_patch_level }}-${{ inputs.variant }}
-        cache_bucket: "ccache-cache-${{ inputs.version }}"
+        cache_bucket: "ccache-cache-${{ inputs.version }}-${{ inputs.variant }}"
         compression_level: 9
         github_token: ${{ github.token }}
 
@@ -502,7 +502,7 @@ jobs:
       with:
         cache_path: /home/runner/.cache/bazel
         cache_key: ${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ steps.extract.outputs.sublevel }}-${{ inputs.os_patch_level }}-${{ inputs.variant }}
-        cache_bucket: "bazel-cache-${{ inputs.version }}"
+        cache_bucket: "bazel-cache-${{ inputs.version }}-${{ inputs.variant }}"
         compression_level: 9
         github_token: ${{ github.token }}