This repository has been archived on 2024-06-03. You can view files and clone it, but cannot push or open issues or pull requests.
app/.drone.yml
Dorian Zedler 2d4689a01c
Some checks failed
continuous-integration/drone/push Build is failing
Update '.drone.yml'
2022-08-01 22:29:11 +02:00

24 lines
No EOL
722 B
YAML

kind: pipeline
name: build and publish Qt Android-App
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build apk
image: itsblue.dev/plugins/qt-android:5.15.5-1
settings:
qmake_arguments: "CONFIG+=release"
androiddeployqt_arguments: "--android-platform android-31"
- name: publish package
image: alpine/curl
commands:
- env
- "curl --fail --user $GITEA_USER:$GITEA_TOKEN --upload-file outputs/apk/debug/android-build-debug.apk https://itsblue.dev/api/packages/ScStw/generic/app/0.0.0-preview-${DRONE_COMMIT_SHA}/ScStwApp.apk"
environment:
GITEA_USER:
from_secret: gitea-user
GITEA_TOKEN:
from_secret: gitea-token