-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): use JDK 18 and add
settings.gradle.kts
to cache inputs
- Loading branch information
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,15 +24,15 @@ jobs: | |
- name: Set up JDK | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
cache: 'gradle' | ||
distribution: temurin | ||
java-version: 18 | ||
cache: gradle | ||
|
||
- name: Cache Kotlin/Native compiler | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.konan | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'settings.gradle.kts') }} | ||
|
||
- name: Run unit tests | ||
uses: gradle/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,15 +29,15 @@ jobs: | |
- name: Set up JDK | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
cache: 'gradle' | ||
distribution: temurin | ||
java-version: 18 | ||
cache: gradle | ||
|
||
- name: Cache Kotlin/Native compiler | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.konan | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'settings.gradle.kts') }} | ||
|
||
- name: Publish | ||
uses: gradle/[email protected] | ||
|
@@ -60,15 +60,15 @@ jobs: | |
- name: Set up JDK | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
cache: 'gradle' | ||
distribution: temurin | ||
java-version: 18 | ||
cache: gradle | ||
|
||
- name: Cache Kotlin/Native compiler | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.konan | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'settings.gradle.kts') }} | ||
|
||
- name: Publish Windows artifacts | ||
uses: gradle/[email protected] | ||
|