Skip to content

Commit

Permalink
fix: don't cache SNAPSHOT versions (#2912)
Browse files Browse the repository at this point in the history
I am not 100% sure this will work, but the docs seem to imply it will.
  • Loading branch information
stuartwdouglas authored Oct 1, 2024
1 parent 55033f1 commit 4afe64e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/build-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ runs:
id: cache-maven
uses: actions/cache/restore@v4
with:
path: ~/.m2/repository
path: |
~/.m2/repository
**SNAPSHOT**
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down

0 comments on commit 4afe64e

Please sign in to comment.