diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be6a613..91fc424 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -115,7 +115,9 @@ jobs: - name: Restore Maven cache uses: actions/cache@v3 with: - path: ~/.m2/repository + path: | + /home/runner/.m2 + /home/runner/work/${{ github.repository }} key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- @@ -143,7 +145,9 @@ jobs: - name: Restore Maven cache uses: actions/cache@v3 with: - path: ~/.m2/repository + path: | + /home/runner/.m2 + /home/runner/work/${{ github.repository }} key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven-