Skip to content

Commit

Permalink
Fix m2 cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan971 committed Jan 9, 2025
1 parent e654799 commit bb6a378
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-hotspot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
uses: "actions/cache@v4"
with:
path: "~/.m2/repository"
key: "${{ runner.os }}-hotspot-maven-${{ inputs.JDK_VENDOR }}-${{ inputs.JDK_VERSION }}-${{ hashFiles('src/pom.xml') }}"
key: "${{ runner.os }}-hotspot-maven-${{ inputs.JDK_VERSION }}-${{ hashFiles('pom.xml') }}"
restore-keys: |
${{ runner.os }}-hotspot-maven-${{ inputs.JDK_VENDOR }}-${{ inputs.JDK_VERSION }}-
${{ runner.os }}-hotspot-maven-${{ inputs.JDK_VERSION }}-
- name: "Build and test"
run: |
set -euo pipefail
Expand Down

0 comments on commit bb6a378

Please sign in to comment.