Skip to content

Commit

Permalink
feat:[workflows] Updated CI workflow and added ios build
Browse files Browse the repository at this point in the history
  • Loading branch information
rj-since-2000 committed Aug 8, 2021
1 parent 82fedcf commit d748206
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,27 @@ name: Flutter CI

on:
push:
branches: [ master ]
branches: [master, dev]
pull_request:
branches: [ master ]
branches: [master, dev]

jobs:
build:
runs-on: ubuntu-latest

runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
java-version: "12.x"
- uses: subosito/flutter-action@v1
with:
flutter-version: '2.0.0'
flutter-version: "2.2.2"
- run: flutter pub get
- run: flutter test
- run: flutter analyze
- run: flutter format -n --set-exit-if-changed .
- run: flutter build apk

- run: flutter build ios --release --no-codesign
- uses: actions/upload-artifact@v1
with:
name: release-apk
Expand Down

0 comments on commit d748206

Please sign in to comment.