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: