Skip to content

Commit

Permalink
wip: Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
lijy91 committed Jun 23, 2024
1 parent b153f46 commit 514ab3c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 19 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,56 +13,48 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.16.8"
flutter-version: "3.22.2"
channel: "stable"
- run: |
sudo apt-get update
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
sudo apt-get install -y keybinder-3.0
- uses: bluefireteam/melos-action@v2
- working-directory: ./packages/screen_capturer/example
run: |
melos bs
flutter build linux --release
run: 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"
flutter-version: "3.22.2"
channel: "stable"
- uses: bluefireteam/melos-action@v2
- working-directory: ./packages/screen_capturer/example
run: |
melos bs
flutter build macos --release
run: 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"
flutter-version: "3.22.2"
channel: "stable"
- uses: bluefireteam/melos-action@v2
- working-directory: ./packages/screen_capturer/example
run: |
melos bs
flutter build web --release
run: 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"
flutter-version: "3.22.2"
channel: "stable"
- uses: bluefireteam/melos-action@v2
- working-directory: ./packages/screen_capturer/example
run: |
melos bs
flutter build windows --release
run: flutter build windows --release
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.16.8"
flutter-version: "3.22.2"
channel: "stable"
- uses: bluefireteam/melos-action@v2
- run: melos run analyze
Expand All @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.16.8"
flutter-version: "3.22.2"
channel: "stable"
cache: true
- uses: bluefireteam/melos-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.16.8"
flutter-version: "3.22.2"
channel: "stable"
cache: true
- uses: bluefireteam/melos-action@v2
Expand Down

0 comments on commit 514ab3c

Please sign in to comment.