prasannan-robots is building Flutter App :) #13
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: Flutter_Workflow | |
run-name: ${{ github.actor }} is building Flutter App :) | |
on: workflow_dispatch | |
jobs: | |
check-bats-version: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' # or: 'beta', 'dev' or 'master' | |
- name: Install dependencies | |
run: flutter pub get | |
- run: flutter build apk | |
- run: flutter build appbundle | |
- name: Upload APK | |
uses: actions/upload-artifact@v3 | |
with: | |
name: release-apk | |
path: build/app/outputs/apk/release/app-release.apk |