From 99cdd4a737a794fd0ca7914056db0c43da523da2 Mon Sep 17 00:00:00 2001 From: "Alejandro R. Mosteo" Date: Thu, 11 Jul 2024 13:19:55 +0200 Subject: [PATCH] Use runner arch in cache key --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index eb87920b..68a9b679 100644 --- a/action.yml +++ b/action.yml @@ -50,7 +50,7 @@ runs: id: cache-key shell: bash run: | - echo "key=alr[1][${{ steps.find-hash.outputs.version }}][${{ inputs.toolchain }}][${{ runner.os }}][${{ steps.find-hash.outputs.hash }}]" >> $GITHUB_OUTPUT + echo "key=alr[1][${{ steps.find-hash.outputs.version }}][${{ inputs.toolchain }}][${{ runner.os }}][${{ runner.arch }}][${{ steps.find-hash.outputs.hash }}]" >> $GITHUB_OUTPUT # The first value in square brackets is to make the key unique for debugging - name: Reuse cached installation