25 lines
637 B
YAML
25 lines
637 B
YAML
on: push
|
|
name: Test, Build and Release apk
|
|
jobs:
|
|
build:
|
|
name: Build APK
|
|
runs-on: k8s
|
|
steps:
|
|
- name: Install prerequisites
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y xz-utils
|
|
- 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@v2
|
|
with:
|
|
channel: stable
|
|
flutter-version: 3.19.0
|
|
- run: flutter pub get
|
|
# - run: flutter test
|
|
- name: Build
|
|
run: flutter build web
|
|
# dumps onto publish_dir: ./build/web
|