diff --git a/flutter/flutter-android.gitlab-ci.yml b/flutter/flutter-android.gitlab-ci.yml index b33c6697b40f16caaedc47e8f0067f456143c8fd..81b51fef2948df76f6bd2c06060b4705f5510d7e 100644 --- a/flutter/flutter-android.gitlab-ci.yml +++ b/flutter/flutter-android.gitlab-ci.yml @@ -17,6 +17,7 @@ variables: SINGING_KEYSTORE_FILE: android/signing-keystore.jks FLUTTER_ANDROID_IMAGE: andrijoos/flutter:3.24.5-android BUNDLETOOL_IMAGE: andrijoos/bundletool + ANDROID_PLATFORMS: android-arm,android-arm64,android-x64 android: stage: build @@ -36,9 +37,9 @@ android: - echo "keyAlias=$SIGNING_KEY_ALIAS" >> $SIGNING_PROPERTIES_FILE - echo "storeFile=$SIGNING_STORE_FILE" >> $SIGNING_PROPERTIES_FILE - echo $SIGNING_KEYSTORE | base64 -d > $SINGING_KEYSTORE_FILE - - flutter build appbundle --release --target-platform android-arm,android-arm64,android-x64 --build-name ${APPLICATION_VERSION} --build-number ${APPLICATION_BUILD_NUMBER} + - flutter build appbundle --release --target-platform ${ANDROID_PLATFORMS} --build-name ${APPLICATION_VERSION} --build-number ${APPLICATION_BUILD_NUMBER} after_script: - - mv ${APP_DIRECTORY}/build/app/outputs/bundle/release/app-release.aab ./{APP_NAME}_${APPLICATION_VERSION}.aab + - mv ${APP_DIRECTORY}/build/app/outputs/bundle/release/app-release.aab ./${APP_NAME}_${APPLICATION_VERSION}.aab .build_universal_apk: stage: build