mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 10:47:33 +02:00
Enable Maven cache for runner
This commit is contained in:
11
.github/workflows/maven.yml
vendored
11
.github/workflows/maven.yml
vendored
@ -18,6 +18,17 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# Pull changes
|
# Pull changes
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
# Cache artifacts - however this has the downside that we don't get notified of
|
||||||
|
# artifact resolution failures like invalid repository
|
||||||
|
# Nevertheless the repositories should be more stable and it makes no sense to pull
|
||||||
|
# a same version every time
|
||||||
|
# A dry run would make more sense
|
||||||
|
- uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: ~/.m2/repository
|
||||||
|
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-maven-
|
||||||
# Setup Java
|
# Setup Java
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
uses: actions/setup-java@v1.3.0
|
uses: actions/setup-java@v1.3.0
|
||||||
|
Reference in New Issue
Block a user