From 9a5f6ddc667ffb1112d6ba0d502c27ea64882e09 Mon Sep 17 00:00:00 2001 From: Mathis Burger Date: Thu, 7 Mar 2024 16:10:57 +0100 Subject: [PATCH] [TASK] Updated workflow for java 21 --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8ced4eb..3debc2a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '21' + cache: 'gradle' - name: Build with Gradle run: ./gradlew build -Dquarkus.package.type=uber-jar - name: Start application