try building this
Some checks failed
Test, Build and Release apk / Build APK (push) Has been cancelled
Some checks failed
Test, Build and Release apk / Build APK (push) Has been cancelled
This commit is contained in:
parent
e53984fafd
commit
15f5a6a657
22
.gitea/workflows/build-android.yaml
Normal file
22
.gitea/workflows/build-android.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
on: push
|
||||
name: Test, Build and Release apk
|
||||
jobs:
|
||||
build:
|
||||
name: Build APK
|
||||
runs-on: k8s
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@v1
|
||||
- uses: https://github.com/actions/setup-java@v1
|
||||
with:
|
||||
java-version: '12.x'
|
||||
- uses: https://github.com/subosito/flutter-action@v1
|
||||
with:
|
||||
flutter-version: '1.7.8+hotfix.4'
|
||||
- run: flutter pub get
|
||||
# - run: flutter test
|
||||
- run: flutter build apk --debug --split-per-abi
|
||||
- name: Push APK to Releases
|
||||
uses: https://github.com/ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: "build/app/outputs/apk/debug/*.apk"
|
||||
token: ${{ secrets.TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user