Skip to content

Commit

Permalink
Create github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Uttkarsh-raj <[email protected]>
  • Loading branch information
Uttkarsh-raj authored May 22, 2024
1 parent db044f4 commit 821b3ff
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Test Flutter App
on: [push, pull_request]

jobs:
test:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
architecture: x64
- run: flutter pub get
- run: flutter analyze
- run: flutter build apk

# Upload APK as a build artifact
- uses: actions/upload-artifact@v2
with:
name: app-release-apk
path: build/app/outputs/flutter-apk/app-release.apk

0 comments on commit 821b3ff

Please sign in to comment.