From 48db05aaad0b47611c5773623921f693c668da76 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Tue, 8 Nov 2022 16:49:06 -0500 Subject: [PATCH] Build play variant in CI as well --- .builds/debian-stable.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.builds/debian-stable.yml b/.builds/debian-stable.yml index 41fb1f7d28d1c460e1638407918a2ddf48deeb32..5dee6fb8972e23045f19c19dbb5f1fef4f613255 100644 --- a/.builds/debian-stable.yml +++ b/.builds/debian-stable.yml @@ -3,12 +3,14 @@ sources: - https://git.sr.ht/~singpolyma/cheogram-android artifacts: - cheogram.apk +- cheogram_google_play.apk packages: - wget - unzip - android-sdk secrets: - 7eed327c-05c7-49b4-baed-a4d8785588d5 +- 9c6cc176-db6c-4158-9abb-2cb1662d5ca9 environment: ANDROID_SDK_ROOT: /home/build/android tasks: @@ -26,8 +28,14 @@ tasks: cd cheogram-android sed -ie 's///' src/cheogram/AndroidManifest.xml sed -ie 's/\/\/ INSERT/implementation "io.sentry:sentry-android:6.4.2"/' build.gradle -- build: | +- build_free: | cd cheogram-android ./gradlew assembleCheogramFreeDebug +- build_google_play: | + cd cheogram-android + mkdir -p src/playstore/res/values/ + mv ~/push.xml src/playstore/res/values/ + ./gradlew assembleCheogramPlaystoreDebug - assets: | mv cheogram-android/build/outputs/apk/cheogramFree/debug/*.apk cheogram.apk + mv cheogram-android/build/outputs/apk/cheogramPlaystore/debug/*.apk cheogram_google_play.apk