From 70d5bad775d39f8cd5c282e554a9cc068460b1ef Mon Sep 17 00:00:00 2001 From: RarDog Date: Sat, 5 Sep 2026 12:24:03 +0300 Subject: [PATCH] fix(ci): pin windows-2022, add media_kit_libs_macos_video and enable desktop in CI --- .github/workflows/release.yml | 8 +++++++- pubspec.lock | 8 ++++++++ pubspec.yaml | 1 + 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 557f7f3..dd298e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ permissions: jobs: build-windows: name: Build Windows x64 - runs-on: windows-latest + runs-on: windows-2022 steps: - name: Checkout Code @@ -25,6 +25,9 @@ jobs: channel: 'stable' cache: true + - name: Enable Windows Desktop + run: flutter config --enable-windows-desktop + - name: Install Dependencies run: flutter pub get @@ -69,6 +72,9 @@ jobs: channel: 'stable' cache: true + - name: Enable macOS Desktop + run: flutter config --enable-macos-desktop + - name: Install Dependencies run: flutter pub get diff --git a/pubspec.lock b/pubspec.lock index 1a22d53..02fc666 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -671,6 +671,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.2.1" + media_kit_libs_macos_video: + dependency: "direct main" + description: + name: media_kit_libs_macos_video + sha256: f26aa1452b665df288e360393758f84b911f70ffb3878032e1aabba23aa1032d + url: "https://pub.dev" + source: hosted + version: "1.1.4" media_kit_libs_windows_video: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index e86c1c1..66d0b42 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -26,6 +26,7 @@ dependencies: media_kit_video: ^1.2.4 media_kit_libs_windows_video: ^1.0.10 media_kit_libs_linux: ^1.1.3 + media_kit_libs_macos_video: ^1.1.0 shimmer: ^3.0.0 url_launcher: ^6.3.0 file_selector: ^1.0.3