Update workflow to use setup-gradle v4

This commit is contained in:
Matyrobbrt 2024-11-16 14:39:58 +02:00
parent 3747dee130
commit 2fb904d8ba
No known key found for this signature in database
GPG Key ID: 858EF45B4F432829

View File

@ -12,13 +12,14 @@ jobs:
fetch-depth: 0
fetch-tags: true
- name: Setup JDK 17
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: build
run: ./gradlew build