Skip to content

Follow Button to Internship, External and Placement Blog # Issue 41 #100

Follow Button to Internship, External and Placement Blog # Issue 41

Follow Button to Internship, External and Placement Blog # Issue 41 #100

Workflow file for this run

name: main
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
branches: [master]
jobs:
flutter_lint:
name: Run flutter test and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '2.10.5'
- run: flutter pub get
- run: flutter analyze
build_ios:
name: Build Flutter (iOS)
needs: [flutter_lint]
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '2.10.5'
architecture: x64
- run: flutter pub get
- run: flutter clean
- run: flutter build ios --release --no-codesign
build_appbundle:
name: Build Flutter (Android)
needs: [flutter_lint]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- uses: nttld/setup-ndk@v1
with:
ndk-version: r21e
- uses: subosito/flutter-action@v2
with:
flutter-version: '2.10.5'
- run: flutter pub get
- run: flutter build apk
- run: flutter build appbundle