chore: Add test cmds to example app #22
This file contains 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: build | |
on: | |
push: | |
branches: [main, dev] | |
pull_request: | |
branches: [main] | |
jobs: | |
build-android: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.16.8" | |
channel: "stable" | |
- uses: bluefireteam/melos-action@v2 | |
- working-directory: ./packages/protocol_handler/example | |
run: | | |
melos bs | |
flutter build apk --release | |
build-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.16.8" | |
channel: "stable" | |
- uses: bluefireteam/melos-action@v2 | |
- working-directory: ./packages/protocol_handler/example | |
run: | | |
melos bs | |
flutter build macos --release | |
build-web: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.16.8" | |
channel: "stable" | |
- uses: bluefireteam/melos-action@v2 | |
- working-directory: ./packages/protocol_handler/example | |
run: | | |
melos bs | |
flutter build web --release | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.16.8" | |
channel: "stable" | |
- uses: bluefireteam/melos-action@v2 | |
- working-directory: ./packages/protocol_handler/example | |
run: | | |
melos bs | |
flutter build windows --release |