Merge branch 'main' of https://github.com/p-society/gCSB #6
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
name: USER FLUTTER APP BUILD | |
on: | |
push: | |
branches: | |
- main | |
- dev/app | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '2.8.1' | |
- name: Navigate to Target | |
run: cd apps/admin | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Run tests | |
run: flutter test | |
- name: Build APK | |
run: flutter build apk |