20 lines
397 B
YAML
20 lines
397 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: mingc/android-build-box
|
||
|
commands:
|
||
|
- sh gradlew zipApksForDebug
|
||
|
- name: release
|
||
|
image: plugins/gitea-release
|
||
|
settings:
|
||
|
api_key:
|
||
|
from_secret: gitea_token
|
||
|
base_url: https://git.crystalyx.net
|
||
|
files:
|
||
|
- app/build/outputs/apk-zips/debug/apks.zip
|
||
|
when:
|
||
|
event: tag
|