20 lines
582 B
YAML
20 lines
582 B
YAML
on: push
|
|
name: Test, Build and Release web
|
|
jobs:
|
|
build:
|
|
name: Build Web
|
|
runs-on: k8s
|
|
steps:
|
|
- uses: https://github.com/actions/checkout@v1
|
|
- uses: https://github.com/subosito/flutter-action@v2
|
|
with:
|
|
channel: stable
|
|
flutter-version: 3.19.0
|
|
- 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 }} |