From 9f5211da3416e505f6b0bf1c16cb8e6cddb8ec19 Mon Sep 17 00:00:00 2001 From: Yaourt Date: Wed, 28 Jan 2026 10:24:40 +0100 Subject: [PATCH] chore(build): setup java and gradle for releaseDraft --- .github/workflows/build.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 658d6e7..97f0347 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -222,6 +222,19 @@ jobs: - name: Fetch Sources uses: actions/checkout@v6 + # Set up the Java environment for the next steps + - name: Setup Java + uses: actions/setup-java@v5 + with: + distribution: zulu + java-version: 21 + + # Setup Gradle + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v5 + with: + cache-read-only: true + # Remove old release drafts by using the curl request for the available releases with a draft flag - name: Remove Old Release Drafts env: