flutter clean #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- dev | |
name: Test, Build and Release apk | |
jobs: | |
build: | |
name: Build APK | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: 3.19.6 | |
- run: flutter pub get | |
# - run: flutter test | |
- run: flutter build apk | |
- run: flutter build appbundle | |
- name: Release artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: app-release.apk | |
path: build/app/outputs/flutter-apk/app-release.apk |