mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-05-31 09:31:54 +00:00
Caching maven repos properly
This commit is contained in:
@@ -20,8 +20,10 @@ jobs:
|
||||
- name: Cache Maven packages
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.m2
|
||||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
||||
path: ~/.m2/repository # Cache the Maven repository
|
||||
key: maven-${{ runner.os }}-${{ hashFiles('**/*.xml') }}
|
||||
restore-keys: |
|
||||
maven-${{ runner.os }}-
|
||||
- name: Compile
|
||||
run: mvn -B -Pclean install
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user