diff --git a/flutter/flutter-android.gitlab-ci.yml b/flutter/flutter-android.gitlab-ci.yml index eb7968774ffe3d929f89bcee23d7b51beee5b9b0..8f5dd111924953f37cdf376632b4f4a98c1274bc 100644 --- a/flutter/flutter-android.gitlab-ci.yml +++ b/flutter/flutter-android.gitlab-ci.yml @@ -19,6 +19,7 @@ variables: BUNDLETOOL_IMAGE: andrijoos/bundletool ANDROID_PLATFORMS: android-arm,android-arm64,android-x64 AAB_NAME: ${APP_NAME}_${APPLICATION_VERSION}.aab + APK_NAME: ${APP_NAME}_${APPLICATION_VERSION}.apk .build_android: stage: build @@ -51,10 +52,10 @@ variables: - amd64 artifacts: paths: - - ${APP_NAME}_${APPLICATION_VERSION}.apk + - ${APK_NAME} expire_in: 1 day script: - echo $SIGNING_KEYSTORE | base64 -d > keystore.jks - bundletool build-apks --bundle=${AAB_NAME} --output=apks.apks --mode=universal --ks=keystore.jks --ks-pass=pass:$SIGNING_STORE_PW --ks-key-alias=$SIGNING_KEY_ALIAS --key-pass=pass:$SIGNING_KEY_PW - unzip -q apks.apks -d apks - - mv apks/universal.apk ./${APP_NAME}_${APPLICATION_VERSION}.apk + - mv apks/universal.apk ./${APK_NAME}