From dcb22776f885e03ebf4d67b4f1265074e93ca337 Mon Sep 17 00:00:00 2001 From: shadow578 <52449218+shadow578@users.noreply.github.com> Date: Mon, 11 Nov 2024 19:49:56 +0100 Subject: [PATCH] fix setup-java action --- .github/workflows/auto_build.yml | 3 ++- .github/workflows/full_ci.yml | 6 ++++-- .github/workflows/short_ci.yml | 3 ++- app/build.gradle.kts | 4 ++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/auto_build.yml b/.github/workflows/auto_build.yml index 94cd466..9e39052 100644 --- a/.github/workflows/auto_build.yml +++ b/.github/workflows/auto_build.yml @@ -24,8 +24,9 @@ jobs: - uses: actions/checkout@v4 with: ref: main - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v4 with: + distribution: 'corretto' java-version: 11 - run: | mkdir -p ~/.gradle diff --git a/.github/workflows/full_ci.yml b/.github/workflows/full_ci.yml index f59d961..3421b62 100644 --- a/.github/workflows/full_ci.yml +++ b/.github/workflows/full_ci.yml @@ -29,8 +29,9 @@ jobs: steps: # setup env - uses: actions/checkout@v4 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v4 with: + distribution: 'corretto' java-version: 11 - run: | mkdir -p ~/.gradle @@ -74,8 +75,9 @@ jobs: steps: # setup env - uses: actions/checkout@v4 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v4 with: + distribution: 'corretto' java-version: 11 - run: | mkdir -p ~/.gradle diff --git a/.github/workflows/short_ci.yml b/.github/workflows/short_ci.yml index 4347743..79c909f 100644 --- a/.github/workflows/short_ci.yml +++ b/.github/workflows/short_ci.yml @@ -25,8 +25,9 @@ jobs: steps: # setup env - uses: actions/checkout@v4 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v4 with: + distribution: 'corretto' java-version: 11 - run: | mkdir -p ~/.gradle diff --git a/app/build.gradle.kts b/app/build.gradle.kts index f5f8f28..66a9c1a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -26,8 +26,8 @@ android { minSdk = 24 targetSdk = 33 compileSdk = 33 - versionCode = 7 - versionName = "1.4.2" + versionCode = 8 + versionName = "1.4.3" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" kapt {