2021-08-08 20:58:08 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: mingc/android-build-box
|
|
|
|
commands:
|
2021-08-09 06:56:39 +00:00
|
|
|
- sh gradlew build bundle
|
2021-08-08 20:58:08 +00:00
|
|
|
- name: release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_token
|
|
|
|
base_url: https://git.crystalyx.net
|
|
|
|
files:
|
2021-08-09 06:56:39 +00:00
|
|
|
- app/build/outputs/apk/debug/app-debug.apk
|
|
|
|
- app/build/outputs/bundle/release/app-release.aab
|
2021-08-08 20:58:08 +00:00
|
|
|
when:
|
|
|
|
event: tag
|