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 uses: actions/cache@v2
with: with:
path: ~/.m2 path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} key: 'cache'
restore-keys: ${{ runner.os }}-m2 restore-keys: 'cache'
- name: Build with Maven - name: Build with Maven
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml
- name: Remove Snapshots Before Caching - name: Remove Snapshots Before Caching