chore: Update workflows flutter version to 3.16.8 #26
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-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.16.8" | |
channel: "stable" | |
- run: | | |
sudo apt-get update | |
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev | |
- uses: bluefireteam/melos-action@v2 | |
- working-directory: ./packages/screen_retriever/example | |
run: | | |
melos bs | |
flutter build linux --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/screen_retriever/example | |
run: | | |
melos bs | |
flutter build macos --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/screen_retriever/example | |
run: | | |
melos bs | |
flutter build windows --release |