Skip to content

Upgrade example app to support Flutter 3.22.2 #223

Upgrade example app to support Flutter 3.22.2

Upgrade example app to support Flutter 3.22.2 #223

Workflow file for this run

name: build
on:
push:
pull_request:
branches: master
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: "3.22.2"
architecture: x64
# or: 'beta', 'dev' or 'master'
- run: flutter pub get
#Android
- run: |
cd example
flutter pub get
flutter build apk
#IOS
- run: |
cd example
flutter pub get
cd ios
flutter clean
rm Pods && rm Podfile.lock
flutter pub get
pod install --repo-update
xcodebuild -workspace Runner.xcworkspace -configuration Debug -scheme Runner -destination "platform=iOS Simulator,OS=16.2,name=iPhone 14" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO