mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-31 19:24:47 +02:00
Update CI workflow
This commit is contained in:
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
@@ -17,13 +17,13 @@ jobs:
|
|||||||
# Run steps
|
# Run steps
|
||||||
steps:
|
steps:
|
||||||
# Pull changes
|
# Pull changes
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2.3.4
|
||||||
# Cache artifacts - however this has the downside that we don't get notified of
|
# Cache artifacts - however this has the downside that we don't get notified of
|
||||||
# artifact resolution failures like invalid repository
|
# artifact resolution failures like invalid repository
|
||||||
# Nevertheless the repositories should be more stable and it makes no sense to pull
|
# Nevertheless the repositories should be more stable and it makes no sense to pull
|
||||||
# a same version every time
|
# a same version every time
|
||||||
# A dry run would make more sense
|
# A dry run would make more sense
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v2.1.3
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
@@ -31,7 +31,7 @@ jobs:
|
|||||||
${{ runner.os }}-maven-
|
${{ 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.4.3
|
||||||
with:
|
with:
|
||||||
# Use Java 8, because it's minimum required version
|
# Use Java 8, because it's minimum required version
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
Reference in New Issue
Block a user