Updated fvm to use Flutter 3.16.9 #49
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: MacOS example build | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
branches: [master] | |
jobs: | |
macos-build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: kuhnroyal/flutter-fvm-config-action@v1 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: ${{ env.FLUTTER_VERSION }} | |
channel: ${{ env.FLUTTER_CHANNEL }} | |
- run: flutter config --enable-macos-desktop | |
working-directory: example | |
- run: flutter build macos | |
working-directory: example | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: windows-build | |
path: | | |
example/build/macos/Build/Products/Release/flutter_nsd_example.app |