Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/flutter-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build Flutter APK

on:
push:
branches: [ main ]
workflow_dispatch:

jobs:
build:
name: Build APK
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: subosito/flutter-action@v2
with:
flutter-version: '3.19.6'

- name: Install dependencies
run: flutter pub get

- name: Build APK
run: flutter build apk --release

- name: Upload APK to artifacts
uses: actions/upload-artifact@v3
with:
name: release-apk
path: build/app/outputs/flutter-apk/app-release.apk