Update `actions/setup-java` to v2 (#177)
* Remove trailing whitespace
* Update `actions/setup-java`
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 163e3f9..bc8dda7 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -30,12 +30,12 @@
include:
- java: 17-ea
os: ubuntu-latest
- experimental: true
+ experimental: true
- java: 17-ea
os: windows-latest
- experimental: true
+ experimental: true
fail-fast: false
-
+
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/cache@v2.1.4
@@ -45,8 +45,9 @@
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK ${{ matrix.java }}
- uses: actions/setup-java@v1.4.3
+ uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false