Android: Migrate to Flutter Android embedding v2 (fix build on Flutter 3.29+) #85
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: format + publishable | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| format_java: | |
| runs-on: ubuntu-18.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-java@v1 | |
| with: | |
| java-version: 11 | |
| - uses: axel-op/googlejavaformat-action@v3 | |
| - uses: subosito/flutter-action@v1 | |
| with: | |
| channel: 'stable' | |
| - name: Format | |
| run: | | |
| flutter format --set-exit-if-changed . | |
| format_swift: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: GitHub Action for SwiftLint | |
| uses: norio-nomura/[email protected] | |
| publishable: | |
| runs-on: ubuntu-18.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: subosito/flutter-action@v1 | |
| with: | |
| channel: 'stable' | |
| - name: publish checks | |
| run: | | |
| flutter pub get | |
| flutter pub publish -n | |
| dart pub global activate tuneup | |
| dart pub global run tuneup check |