From 388f0d9e3f976e479a3f9e1fe5879d327950a57e Mon Sep 17 00:00:00 2001 From: Goooler Date: Sat, 1 Oct 2022 22:09:11 +0800 Subject: [PATCH] Use Java 19 on CI (#234) Follow up 8f6818305dfa32294e665971f86fd3ef86f98978. --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/release.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8dc5eab4..bccff9de5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: 18 + java-version: 19 - uses: gradle/gradle-build-action@v2 - run: ./gradlew lintKotlin @@ -49,7 +49,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: 18 + java-version: 19 - uses: gradle/gradle-build-action@v2 - run: ./gradlew detekt @@ -60,7 +60,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: 18 + java-version: 19 - uses: gradle/gradle-build-action@v2 - run: ./gradlew lintDebug @@ -73,7 +73,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: 18 + java-version: 19 - uses: gradle/gradle-build-action@v2 - run: ./gradlew testDebugUnitTest @@ -90,7 +90,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: 18 + java-version: 19 - uses: gradle/gradle-build-action@v2 - uses: actions/cache@v3 id: avd-cache @@ -122,7 +122,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: 18 + java-version: 19 - uses: gradle/gradle-build-action@v2 with: gradle-home-cache-cleanup: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db86e7f44..a1dd8cdbf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: 18 + java-version: 19 - uses: gradle/gradle-build-action@v2 - run: ./gradlew app:assembleProdRelease - uses: ncipollo/release-action@v1