From b59243e410137b41c9b99a28fa67ca88880770f4 Mon Sep 17 00:00:00 2001 From: samanhappy Date: Fri, 18 Apr 2025 16:30:42 +0800 Subject: [PATCH] fix: add scope to cache-to configuration in build workflow (#17) --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3edd5c0..a399c49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha - cache-to: type=gha,mode=max + cache-to: type=gha,mode=max,scope=${{ matrix.variant }} platforms: linux/amd64,linux/arm64 build-args: | INSTALL_EXT=${{ matrix.variant == 'full' && 'true' || 'false' }}