From 290ffa77e06a4294494e99634aca2b37258565ce Mon Sep 17 00:00:00 2001 From: LuftVerbot <97435834+LuftVerbot@users.noreply.github.com> Date: Fri, 16 Aug 2024 11:17:45 +0200 Subject: [PATCH] Test: Use release build instead of debug --- .github/workflows/build.yml | 6 +++--- app/build.gradle.kts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b3e2002..7a9510b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,17 +30,17 @@ jobs: - name: Build with Gradle run: | - ./gradlew assembleDebug \ + ./gradlew assembleRelease \ -Pandroid.injected.signing.store.file=$GITHUB_WORKSPACE/signing-key.jks \ -Pandroid.injected.signing.store.password=${{ secrets.PASSWORD }} \ -Pandroid.injected.signing.key.alias=key0 \ -Pandroid.injected.signing.key.password=${{ secrets.PASSWORD }} - cp app/build/outputs/apk/debug/app-debug.apk app/build/de-${{ env.VERSION }}.apk + cp app/build/outputs/apk/debug/app-release.apk app/build/de-${{ env.VERSION }}.apk - name: Upload APK uses: actions/upload-artifact@v4 with: - path: app/build/outputs/apk/debug/app-debug.apk + path: app/build/outputs/apk/release/app-release.apk - name: Upload APK to Discord shell: bash diff --git a/app/build.gradle.kts b/app/build.gradle.kts index dac093d..febd05b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -61,7 +61,7 @@ android { } dependencies { - val libVersion = "main-SNAPSHOT" + val libVersion = "f6716fb9e9" //"main-SNAPSHOT" compileOnly("com.github.brahmkshatriya:echo:$libVersion") implementation("com.squareup.okhttp3:okhttp:5.0.0-alpha.14")