From 346f9b6001fc112931b092be98b6dad2980e6841 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Wed, 11 Sep 2024 15:41:48 +0200 Subject: [PATCH] Fix github action 2 --- .github/workflows/build.yml | 4 ++-- .github/workflows/publish.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0fe6e76..abcbbbc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Java CI +name: Build on: [push] @@ -14,7 +14,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 16 + java-version: 21 cache: 'gradle' - name: Build with Gradle run: ./gradlew clean build test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f8276ab..50c19fc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 16 + java-version: 21 cache: 'gradle' - name: Build with Gradle run: ./gradlew publish