Skip to content

Commit

Permalink
Add Flutter Build Apk workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nailsonseat committed Jan 23, 2024
1 parent b90efd1 commit ee75894
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/flutter_build_apk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Flutter Build Apk

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v1
with:
channel: "beta"
- run: flutter pub get
- run: flutter format --set-exit-if-changed .
- run: flutter analyze .
- run: flutter build apk
- uses: actions/upload-artifact@v1
with:
name: release-apk
path: build/app/outputs/apk/release/app-release.apk

0 comments on commit ee75894

Please sign in to comment.