From f4d98c6c17b7ffdd1413a7f8cd22171c6105a9af Mon Sep 17 00:00:00 2001 From: Amir Hassan Date: Fri, 21 Jan 2022 17:14:01 +0100 Subject: [PATCH] java 14 --- .github/workflows/maven.yml | 8 ++++---- src/main/kotlin/info/novatec/HelloWorld.kt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2566386..dfa17d8 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,11 +16,11 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 14 uses: actions/setup-java@v2 with: - java-version: '11' - distribution: 'temurin' + java-version: '14' + distribution: 'zulu' cache: maven - name: Build with Maven - run: mvn -B package --file pom.xml + run: mvn -B package --file pom.xml spotless:check diff --git a/src/main/kotlin/info/novatec/HelloWorld.kt b/src/main/kotlin/info/novatec/HelloWorld.kt index 1e42b4f..aade54c 100644 --- a/src/main/kotlin/info/novatec/HelloWorld.kt +++ b/src/main/kotlin/info/novatec/HelloWorld.kt @@ -1,3 +1,3 @@ fun main(args: Array) { println("Hello World!") -} +} \ No newline at end of file