try to build

This commit is contained in:
Alya Sirko 2022-08-31 13:51:30 +03:00
parent 0ba2498187
commit 573a3e8c0d

View file

@ -5,11 +5,10 @@ name: ci
steps:
- name: build
commands:
# - flutter build apk --debug --split-per-abi
# - mv build/app/outputs/flutter-apk/*-debug.apk `pwd`
# - rename app pro.kherel.selfprivacy *.apk && rename debug "$DRONE_COMMIT" *.apk
# - ls *.apk
- echo $JAVA_HOME $ANDROID_HOME $ANDROID_SDK_ROOT
- flutter build apk --debug --split-per-abi
- mv build/app/outputs/flutter-apk/*-debug.apk `pwd`
- rename app pro.kherel.selfprivacy *.apk && rename debug "$DRONE_COMMIT" *.apk
- ls *.apk
environment:
JAVA_HOME: /nix/store/i9bbniszl2g4pkjy1lbcchg0lnk69xn6-openjdk-headless-11.0.15+10/lib/openjdk
ANDROID_HOME: /nix/store/xvr502awmkzaw29gv0nmg2yr29ksz5wy-androidsdk/libexec/android-sdk