Update workflow to use setup-gradle v4
This commit is contained in:
parent
3747dee130
commit
2fb904d8ba
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -12,13 +12,14 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
fetch-tags: true
|
fetch-tags: true
|
||||||
|
|
||||||
- name: Setup JDK 17
|
- name: Setup JDK 21
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: '21'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
|
|
||||||
|
- name: Setup Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v4
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
uses: gradle/actions/setup-gradle@v3
|
run: ./gradlew build
|
||||||
with:
|
|
||||||
arguments: build
|
|
||||||
Loading…
x
Reference in New Issue
Block a user