Created
July 2, 2020 05:05
-
-
Save PrashantBhatasana/3212559f7e63068f475f4ffe846906ca to your computer and use it in GitHub Desktop.
This is the Buildspec file for AWS CodePipeline - Build Fluttter App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.2 | |
phases: | |
install: | |
runtime-versions: | |
android: 29 | |
java: openjdk8 | |
commands: | |
- pwd | |
pre_build: | |
commands: | |
- echo Pre Build started on `date` | |
- git clone https://github.com/flutter/flutter.git -b stable | |
- export PATH="$PATH:`pwd`/flutter/bin" | |
- flutter precache | |
- flutter doctor | |
build: | |
commands: | |
- echo Build started on `date` | |
- flutter build apk --no-shrink | |
- ls -al | |
post_build: | |
commands: | |
- echo Build completed on `date` | |
artifacts: | |
files: | |
- build/app/outputs/apk/release/*.apk | |
discard-paths: yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment