try drone maybe
This commit is contained in:
parent
59d41e87f0
commit
5755af290c
25
.drone.yml
Normal file
25
.drone.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: build-apk
|
||||||
|
|
||||||
|
clone:
|
||||||
|
depth: 1
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: cirrusci/flutter:stable
|
||||||
|
pull: true
|
||||||
|
commands:
|
||||||
|
- flutter packages get
|
||||||
|
- flutter build apk --release --split-per-abi
|
||||||
|
- mkdir apks
|
||||||
|
- mv build/app/outputs/apk/*/*/*.apk apks
|
||||||
|
|
||||||
|
- name: Publish APK
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: GITEA_TOKEN
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- push
|
Loading…
x
Reference in New Issue
Block a user