Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit c17ea4b

Browse files
JonasCirtbroyer
andcommitted
[SORMAS-Foundation#3730] Apply suggestions from code review
Co-authored-by: Thomas Broyer <[email protected]>
1 parent 23cf657 commit c17ea4b

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
java: [ 1.8, 1.11 ]
17+
java: [ 8, 11 ]
1818
name: Test with Java ${{ matrix.java }}
1919
steps:
2020
- uses: actions/checkout@v2
@@ -26,9 +26,8 @@ jobs:
2626
uses: actions/cache@v2
2727
with:
2828
path: ~/.m2
29-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
29+
key: ${{ runner.os }}-java-${{ matrix.java }}-m2-${{ hashFiles('**/pom.xml', '**/*.pom') }}
3030
restore-keys: ${{ runner.os }}-m2
3131
- name: Build with Maven
32-
run: |
33-
cd sormas-base
34-
mvn verify -B -ntp
32+
run: mvn verify -B -ntp
33+
working-directory: ./sormas-base

0 commit comments

Comments
 (0)