app/.drone.yml

30 lines
860 B
YAML
Raw Normal View History

2022-07-29 08:48:09 +02:00
kind: pipeline
2022-08-08 23:48:09 +02:00
name: default
2022-07-29 08:48:09 +02:00
steps:
2022-08-08 23:48:09 +02:00
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
2022-07-29 08:48:09 +02:00
2022-08-08 23:48:09 +02:00
- name: build app
image: itsblue.dev/plugins/qt-android:5.15.5-3
settings:
qmake_arguments: "CONFIG+=release"
androiddeployqt_arguments: "--android-platform android-31 --aab"
android_keystore_data:
from_secret: android-release-keystore
android_keystore_alias: "bmca"
android_keystore_store_pass:
from_secret: android-release-keystore-password
- name: release
image: plugins/gitea-release
settings:
base_url: https://itsblue.dev
api_key:
from_secret: gitea-token
files:
- app/outputs/apk/release/android-build-release-signed.apk
- app/outputs/bundle/release/android-build-release.aab
when:
event: tag