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-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
|
||||
Loading…
x
Reference in New Issue
Block a user