From 8dc28e928694762ccc124d6fcd97498caa64a6c3 Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Mon, 7 Nov 2022 14:49:32 +0800 Subject: [PATCH] fix: Windows CI error, need to install vcpkg --- .github/workflows/ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5881741061..dca1ecb2ec 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -64,6 +64,8 @@ jobs: sudo apt-get update sudo apt-get install -y dart curl build-essential libsqlite3-dev libssl-dev clang cmake ninja-build pkg-config libgtk-3-dev sudo apt-get install keybinder-3.0 + elif [ "$RUNNER_OS" == "Windows" ]; then + vcpkg integrate install elif [ "$RUNNER_OS" == "macOS" ]; then echo 'do nothing' fi @@ -87,7 +89,7 @@ jobs: flutter config --enable-linux-desktop elif [ "$RUNNER_OS" == "macOS" ]; then flutter config --enable-macos-desktop - elif [ "$RUNNER_OS" == "windows" ]; then + elif [ "$RUNNER_OS" == "Windows" ]; then flutter config --enable-windows-desktop fi shell: bash