image: ghcr.io/cirruslabs/flutter:latest stages: - build variables: SECURE_FILES_DOWNLOAD_PATH: './' build_android_apk: stage: build before_script: - flutter doctor -v script: - cd mobile - flutter pub get - flutter build apk --release --android-skip-build-dependency-validation artifacts: name: "ForkFolio-Mobile-APK-$CI_COMMIT_SHORT_SHA" paths: - mobile/build/app/outputs/flutter-apk/app-release.apk expire_in: 30 days rules: - if: $CI_COMMIT_BRANCH == "main"