From e63aea6722b478cd61fe4ec4fadc90612eafa75a Mon Sep 17 00:00:00 2001 From: Mehrad Mahmoudian Date: Sun, 28 Apr 2024 15:20:19 +0300 Subject: [PATCH] Fix Windows CI (#3585) * bump run-vcpkg action version * make windows CI to run on demand * fix the workflow_dispatch syntax * add fix* branches to Windows CI --- .github/workflows/Windows-pack.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Windows-pack.yml b/.github/workflows/Windows-pack.yml index 9504d684bb..a7ac435022 100644 --- a/.github/workflows/Windows-pack.yml +++ b/.github/workflows/Windows-pack.yml @@ -3,7 +3,8 @@ name: Packaging(Windows) on: push: branches: - - master* + - master + - fix* paths-ignore: - 'README.md' - 'LICENSE' @@ -12,6 +13,8 @@ on: paths-ignore: - 'README.md' - 'LICENSE' + workflow_dispatch: + env: PRODUCT: flameshot @@ -81,7 +84,7 @@ jobs: echo "VERSION=$(cat CMakeLists.txt |grep 'set.*(.*FLAMESHOT_VERSION' | sed 's/[^0-9.]*//' |sed 's/)//g')" >> $GITHUB_ENV - name: Restore from cache and run vcpkg - uses: lukka/run-vcpkg@v4 + uses: lukka/run-vcpkg@v11 with: vcpkgArguments: ${{env.VCPKG_PACKAGES}} vcpkgDirectory: '${{ github.workspace }}\vcpkg'