Skip to content

Commit

Permalink
add github action to build ios/android app
Browse files Browse the repository at this point in the history
(trying out flutter github actions)
  • Loading branch information
X-Wei committed Oct 18, 2020
1 parent 24290a6 commit bfabc45
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/flutter-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: build-app

on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: macos-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 build ios --release --no-codesign
- run: flutter build apk

0 comments on commit bfabc45

Please sign in to comment.