Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: windows CI failed (#6457)
Lucas574b0ce84b6e
diff --git a/.github/actions/flutter_build/action.yml b/.github/actions/flutter_build/action.ymlindex 66bfce44a5..bfcb501327 100644--- a/.github/actions/flutter_build/action.yml+++ b/.github/actions/flutter_build/action.yml@@ -58,19 +58,24 @@ runs:- name: Install prerequisitesworking-directory: frontend+ shell: bashrun: |- if [ "$RUNNER_OS" == "Linux" ]; then- sudo wget -qO /etc/apt/trusted.gpg.d/dart_linux_signing_key.asc https://dl-ssl.google.com/linux/linux_signing_key.pub- sudo wget -qO /etc/apt/sources.list.d/dart_stable.list https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list- sudo apt-get update- sudo apt-get install -y dart curl build-essential libssl-dev clang cmake ninja-build pkg-config libgtk-3-dev keybinder-3.0 libnotify-dev libmpv-dev mpv- elif [ "$RUNNER_OS" == "Windows" ]; then- vcpkg integrate install- elif [ "$RUNNER_OS" == "macOS" ]; then- echo 'do nothing'- fi+ case $RUNNER_OS in+ Linux)+ sudo wget -qO /etc/apt/trusted.gpg.d/dart_linux_signing_key.asc https://dl-ssl.google.com/linux/linux_signing_key.pub+ sudo wget -qO /etc/apt/sources.list.d/dart_stable.list https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list+ sudo apt-get update+ sudo apt-get install -y dart curl build-essential libssl-dev clang cmake ninja-build pkg-config libgtk-3-dev keybinder-3.0 libnotify-dev+ ;;+ Windows)+ vcpkg integrate install+ vcpkg update+ ;;+ macOS)+ # No additional prerequisites needed for macOS+ ;;+ esaccargo make appflowy-flutter-deps-tools- shell: bash- name: Build AppFlowyworking-directory: frontend@@ -94,4 +99,4 @@ runs:- uses: actions/upload-artifact@v4with:name: ${{ github.run_id }}-${{ matrix.os }}- path: appflowy_flutter.tar.gz\ No newline at end of file+ path: appflowy_flutter.tar.gzdiff --git a/.github/workflows/flutter_ci.yaml b/.github/workflows/flutter_ci.yamlindex 616dc32a22..d2eeb7078d 100644--- a/.github/workflows/flutter_ci.yaml+++ b/.github/workflows/flutter_ci.yaml@@ -25,9 +25,9 @@ on:env:CARGO_TERM_COLOR: always- FLUTTER_VERSION: "3.22.0"- RUST_TOOLCHAIN: "1.77.2"- CARGO_MAKE_VERSION: "0.36.6"+ FLUTTER_VERSION: "3.22.2"+ RUST_TOOLCHAIN: "1.80.1"+ CARGO_MAKE_VERSION: "0.37.18"concurrency:group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}@@ -73,9 +73,9 @@ jobs:strategy:fail-fast: truematrix:- os: [windows-latest]+ os: [windows-2019]include:- - os: windows-latest+ - os: windows-2019flutter_profile: development-windows-x86target: x86_64-pc-windows-msvcruns-on: ${{ matrix.os }}