From d748206576fe9deb9f6790f14e635e99fb43f9bd Mon Sep 17 00:00:00 2001 From: Rajan Jaiswal Date: Sun, 8 Aug 2021 17:57:47 +0530 Subject: [PATCH] feat:[workflows] Updated CI workflow and added ios build --- .github/workflows/main.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5381b00..862e06b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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