diff --git a/.github/actions/build-cache/action.yml b/.github/actions/build-cache/action.yml index 307c2e91c0..9a7f2560e4 100644 --- a/.github/actions/build-cache/action.yml +++ b/.github/actions/build-cache/action.yml @@ -9,11 +9,11 @@ runs: uses: actions/cache/restore@v4 with: path: ~/go/pkg/mod - key: ${{ runner.os }}-{{ hashFiles('**/go.sum') }}-go + key: ${{ runner.os }}-${{ hashFiles('**/go.sum') }}-go - name: Restore Maven Modules Cache id: cache-maven uses: actions/cache/restore@v4 with: path: ~/.m2/repository - key: ${{ runner.os }}-{{ hashFiles('**/pom.xml') }}-maven + key: ${{ runner.os }}-${{ hashFiles('**/pom.xml') }}-maven diff --git a/.github/workflows/writecache.yml b/.github/workflows/writecache.yml index 86b100a720..fdccfc0d57 100644 --- a/.github/workflows/writecache.yml +++ b/.github/workflows/writecache.yml @@ -23,10 +23,10 @@ jobs: uses: actions/cache/save@v4 with: path: ~/go/pkg/mod - key: ${{ runner.os }}-{{ hashFiles('**/go.sum') }}-go + key: ${{ runner.os }}-${{ hashFiles('**/go.sum') }}-go - name: Save Maven Modules Cache id: cache-maven uses: actions/cache/save@v4 with: path: ~/.m2/repository - key: ${{ runner.os }}-{{ hashFiles('**/pom.xml') }}-maven + key: ${{ runner.os }}-${{ hashFiles('**/pom.xml') }}-maven