fix: revert flutter version to v3.16.8 (#821)

This commit is contained in:
Levi authored and GitHub committed 2024-11-18 18:31:25 +08:00
1 parent cd409fcfb9
commit d9f757aaf0
14 files changed
+213 -288

No files matched your search

+4 -4
View File
@@ -28,7 +28,7 @@ on:
env:
GO_VERSION: "1.23"
FLUTTER_VERSION: "3.24.3"
FLUTTER_VERSION: "3.16.8"
jobs:
# lint:
@@ -73,17 +73,17 @@ jobs:
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
- if: runner.os == 'windows-latest'
- if: runner.os == 'windows'
run: |
go build -tags nosqlite -ldflags="-w -s" -buildmode=c-shared -o ui/flutter/windows/libgopeed.dll github.com/GopeedLab/gopeed/bind/desktop
cd ui/flutter
flutter build windows
- if: runner.os == 'macos-latest'
- if: runner.os == 'macOS'
run: |
go build -tags nosqlite -ldflags="-w -s" -buildmode=c-shared -o ui/flutter/macos/Frameworks/libgopeed.dylib github.com/GopeedLab/gopeed/bind/desktop
cd ui/flutter
flutter build macos
- if: runner.os == 'ubuntu-latest'
- if: runner.os == 'Linux'
run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev libayatana-appindicator3-dev