Update CI workflow

This commit is contained in:
games647
2020-11-10 12:33:31 +01:00
parent 5029701f2a
commit 9ff404a424

View File

@@ -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