Skip to content

Commit 9a31769

Browse files
committed
Fix usage of cache action and disable Java 17 due to Lombok
1 parent f9b8c08 commit 9a31769

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414

1515
strategy:
16+
fail-fast: false
1617
matrix:
1718
os: [ ubuntu-18.04, ubuntu-20.04, windows-latest ]
18-
java: [ '8', '11', '17-ea' ]
19+
java: [ '8', '11' ]
1920
arch: [ 'x86', 'x64' ]
2021
exclude:
2122
- os: ubuntu-18.04
@@ -36,7 +37,9 @@ jobs:
3637
uses: actions/cache@v2
3738
with:
3839
path: ~/.m2/repository
39-
key: m2-cache-${{ matrix.java }}-${{ matrix.arch }}-${{ matrix.os }}
40+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
41+
restore-keys: |
42+
${{ runner.os }}-maven-
4043
4144
- name: Set up JDK ${{ matrix.java }}
4245
uses: actions/setup-java@v2

0 commit comments

Comments
 (0)