From b53d2ef4dc94c943b14b86a9b2448b2f6f3da26e Mon Sep 17 00:00:00 2001 From: shadow578 <52449218+shadow578@users.noreply.github.com> Date: Mon, 11 Nov 2024 19:46:51 +0100 Subject: [PATCH] update github actions --- .github/workflows/auto_build.yml | 10 +++++----- .github/workflows/full_ci.yml | 20 ++++++++++---------- .github/workflows/short_ci.yml | 8 ++++---- app/build.gradle.kts | 4 ++-- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/auto_build.yml b/.github/workflows/auto_build.yml index 0d4af1c..94cd466 100644 --- a/.github/workflows/auto_build.yml +++ b/.github/workflows/auto_build.yml @@ -21,10 +21,10 @@ jobs: JAVA_TOOL_OPTIONS: -Xmx5g -XX:+UseParallelGC steps: # setup env - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: main - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: java-version: 11 - run: | @@ -74,7 +74,7 @@ jobs: # upload results - name: Upload Test Results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: unit-test-results @@ -82,7 +82,7 @@ jobs: # upload artifacts - name: Upload Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: apks path: ./app/build/outputs/apk/release/*.apk @@ -97,7 +97,7 @@ jobs: # download artifacts - run: mkdir ./release/ - name: Download Artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: apks path: ./release/ diff --git a/.github/workflows/full_ci.yml b/.github/workflows/full_ci.yml index 769485c..f59d961 100644 --- a/.github/workflows/full_ci.yml +++ b/.github/workflows/full_ci.yml @@ -28,8 +28,8 @@ jobs: JAVA_TOOL_OPTIONS: -Xmx5g -XX:+UseParallelGC steps: # setup env - - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v2 with: java-version: 11 - run: | @@ -51,7 +51,7 @@ jobs: # upload results - name: Upload Test Results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: unit-test-results path: ./app/build/test-results/testDebugUnitTest/*.xml @@ -73,8 +73,8 @@ jobs: api-level: [23, 26, 30] steps: # setup env - - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v2 with: java-version: 11 - run: | @@ -89,7 +89,7 @@ jobs: # setup caches (this is based on the example given at https://github.com/marketplace/actions/android-emulator-runner#usage) - name: Gradle cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/.gradle/caches @@ -97,7 +97,7 @@ jobs: key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }} - name: AVD cache - uses: actions/cache@v2 + uses: actions/cache@v4 id: avd-cache with: path: | @@ -133,7 +133,7 @@ jobs: # upload results - name: Upload Test Results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: instrumentation-test-results path: ./app/build/outputs/androidTest-results/connected/*.xml @@ -148,7 +148,7 @@ jobs: # download unit test results - run: mkdir ./results/ - name: Download Unit Test Results - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: unit-test-results path: ./results/ @@ -158,7 +158,7 @@ jobs: # download instrumentation test results - name: Download Instrumentation Test Results - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: instrumentation-test-results path: ./results/ diff --git a/.github/workflows/short_ci.yml b/.github/workflows/short_ci.yml index e1d8537..4347743 100644 --- a/.github/workflows/short_ci.yml +++ b/.github/workflows/short_ci.yml @@ -24,8 +24,8 @@ jobs: JAVA_TOOL_OPTIONS: -Xmx5g -XX:+UseParallelGC steps: # setup env - - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v2 with: java-version: 11 - run: | @@ -47,7 +47,7 @@ jobs: # upload results - name: Upload Test Results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: unit-test-results path: ./app/build/test-results/testDebugUnitTest/*.xml @@ -62,7 +62,7 @@ jobs: # download unit test results - run: mkdir ./results/ - name: Download Unit Test Results - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: unit-test-results path: ./results/ diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 985b285..f5f8f28 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -26,8 +26,8 @@ android { minSdk = 24 targetSdk = 33 compileSdk = 33 - versionCode = 6 - versionName = "1.4.1" + versionCode = 7 + versionName = "1.4.2" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" kapt {