Skip to content

Merge pull request #41 from nohli/dependabot/pub/url_launcher-6.1.14 #92

Merge pull request #41 from nohli/dependabot/pub/url_launcher-6.1.14

Merge pull request #41 from nohli/dependabot/pub/url_launcher-6.1.14 #92

Workflow file for this run

name: Flutter build
on:
pull_request:
push:
branches:
- main
jobs:
build_android:
name: Build for Android
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '17'
- name: Install Flutter
uses: subosito/flutter-action@v2
- name: Disable analytics
run: flutter config --no-analytics
- name: Flutter pub get
run: flutter pub get
- name: Flutter build appbundle
run: flutter build appbundle --release
build_ios:
name: Build for iOS
runs-on: macos-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Flutter
uses: subosito/flutter-action@v2
- name: Disable analytics
run: flutter config --no-analytics
- name: Flutter pub get
run: flutter pub get
- name: Pod install
run: |
cd ios
pod install
- name: Flutter build iOS
run: flutter build ios --release --no-codesign