Skip to content

Migrate to Federated plugin structure #40

Migrate to Federated plugin structure

Migrate to Federated plugin structure #40

Workflow file for this run

name: Publish
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: kuhnroyal/flutter-fvm-config-action@v2
id: fvm-config-action
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- name: Install Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
- name: Install melos
run: flutter pub global activate melos 6.0.0
- name: Install dependencies
run: melos bs
- name: Run dart analyze
run: melos analyze
- name: build iOS example project
working-directory: ./packages/platform_maps_flutter/example
run: flutter build ios --release --no-codesign
- name: build android example project
working-directory: ./packages/platform_maps_flutter/example
run: flutter build apk
# disabled for now, because will fail with multi-package setup
# - name: publish --dry-run
# run: flutter pub publish --dry-run