From f1f636cf40b9d40087f9ff07ba01aa4808776be4 Mon Sep 17 00:00:00 2001 From: Giovanni Toraldo Date: Mon, 30 Oct 2023 12:49:15 +0100 Subject: [PATCH] use run id for build cache --- .github/actions/setup-java-build/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-java-build/action.yml b/.github/actions/setup-java-build/action.yml index 03ff45aa6..d64eb840e 100644 --- a/.github/actions/setup-java-build/action.yml +++ b/.github/actions/setup-java-build/action.yml @@ -47,7 +47,7 @@ runs: uses: actions/cache@v3 with: path: ~/.m2/build-cache - key: ${{ runner.os }}-buildcache-${{ hashFiles('**/pom.xml') }} + key: ${{ runner.os }}-buildcache-${{ github.run_id }} restore-keys: | ${{ runner.os }}-buildcache-