From 08c93212e7adf1075a15335a3dffbd05b4f917f9 Mon Sep 17 00:00:00 2001 From: Merlin Jehli Date: Fri, 20 Oct 2023 20:29:49 +0200 Subject: [PATCH] better cache key --- aur/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aur/action.yml b/aur/action.yml index db3fec1..35474e6 100644 --- a/aur/action.yml +++ b/aur/action.yml @@ -20,8 +20,8 @@ runs: uses: https://code.forgejo.org/actions/cache/restore@v3 with: path: aur - key: aur-${{ steps.cache-aur-key.outputs.cache-aur-key }} - restore-keys: aur- + key: aur-${{ github.repository }}-${{ steps.cache-aur-key.outputs.cache-aur-key }} + restore-keys: aur-${{ github.repository }}- - name: Build aur if: steps.cache-aur-restore.outputs.cache-hit != 'true' uses: docker://git.fml128.ch/fml128/idkyet-builder:latest @@ -32,4 +32,4 @@ runs: uses: actions/cache/save@v3 with: path: aur - key: aur-${{ steps.cache-aur-key.outputs.cache-aur-key }} + key: aur-${{ github.repository }}-${{ steps.cache-aur-key.outputs.cache-aur-key }}