mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Centralize CI build JDK, update with Renovate (#1941)
This commit is contained in:
1
.github/workflows/.java-version
vendored
Normal file
1
.github/workflows/.java-version
vendored
Normal file
@@ -0,0 +1 @@
|
||||
21
|
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -16,12 +16,10 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Configure JDK
|
||||
uses: actions/setup-java@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: '21'
|
||||
cache: 'gradle'
|
||||
java-version-file: .github/workflows/.java-version
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
|
Reference in New Issue
Block a user