Skip to content

Commit

Permalink
Cache again with pom key
Browse files Browse the repository at this point in the history
  • Loading branch information
seime committed Aug 24, 2024
1 parent 0079a26 commit f02c4ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- "master"

jobs:

build_oh4:
strategy:
fail-fast: false
Expand All @@ -26,7 +27,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ matrix.java }}-maven-
key: ${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ matrix.java }}-maven-
${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down

0 comments on commit f02c4ad

Please sign in to comment.