hard code key cache

This commit is contained in:
Enrico Olivelli 2020-07-17 18:04:50 +02:00
parent 6ec962f14f
commit c97bb58a35
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
key: 'cache'
restore-keys: 'cache'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Remove Snapshots Before Caching