From 9ad17b1305a36d0f981b58b87252e127ed6c75f3 Mon Sep 17 00:00:00 2001 From: Super12138 <70494801+Super12138@users.noreply.github.com> Date: Wed, 10 Apr 2024 20:11:20 +0800 Subject: [PATCH] Fix upload path --- .github/workflows/android_ci.yml | 3 ++- app/build.gradle.kts | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android_ci.yml b/.github/workflows/android_ci.yml index 220accc..6b16599 100644 --- a/.github/workflows/android_ci.yml +++ b/.github/workflows/android_ci.yml @@ -40,7 +40,8 @@ jobs: run: ./gradlew assembleRelease - name: Upload APK + if: success() && github.event_name != 'pull_request' && github.repository == 'Super12138/ToDo' uses: actions/upload-artifact@v4.3.1 with: name: Release - path: ${{steps.sign_app.outputs.signedFile}} \ No newline at end of file + path: ${{ github.workspace }}/app/build/outputs/apk/release \ No newline at end of file diff --git a/app/build.gradle.kts b/app/build.gradle.kts index ee07ed4..aec278d 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -40,8 +40,10 @@ android { } buildTypes { - release { + all { signingConfig = releaseSigning + } + release { isMinifyEnabled = true isShrinkResources = true proguardFiles(