diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 26d78c6..d293193 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: "temurin" - java-version: "17" + java-version: "11" - name: "Clean Build" run: "./gradlew clean build" - name: "Determine release status" @@ -20,7 +20,7 @@ jobs: run: | if [ "$(./gradlew properties | awk '/^version:/ { print $2; }' | grep '\-SNAPSHOT')" ]; then echo "STATUS=snapshot" >> $GITHUB_ENV - else + else# echo "STATUS=release" >> $GITHUB_ENV fi - name: "Publish Release" diff --git a/build.gradle.kts b/build.gradle.kts index 99374a8..1cec180 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -30,7 +30,7 @@ dependencies { } java { - toolchain.languageVersion.set(JavaLanguageVersion.of(17)) + toolchain.languageVersion.set(JavaLanguageVersion.of(11)) } tasks.compileJava.configure {