Skip to content

Commit e63aea6

Browse files
authored
Fix Windows CI (flameshot-org#3585)
* bump run-vcpkg action version * make windows CI to run on demand * fix the workflow_dispatch syntax * add fix* branches to Windows CI
1 parent e752730 commit e63aea6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/Windows-pack.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Packaging(Windows)
33
on:
44
push:
55
branches:
6-
- master*
6+
- master
7+
- fix*
78
paths-ignore:
89
- 'README.md'
910
- 'LICENSE'
@@ -12,6 +13,8 @@ on:
1213
paths-ignore:
1314
- 'README.md'
1415
- 'LICENSE'
16+
workflow_dispatch:
17+
1518

1619
env:
1720
PRODUCT: flameshot
@@ -81,7 +84,7 @@ jobs:
8184
echo "VERSION=$(cat CMakeLists.txt |grep 'set.*(.*FLAMESHOT_VERSION' | sed 's/[^0-9.]*//' |sed 's/)//g')" >> $GITHUB_ENV
8285
8386
- name: Restore from cache and run vcpkg
84-
uses: lukka/run-vcpkg@v4
87+
uses: lukka/run-vcpkg@v11
8588
with:
8689
vcpkgArguments: ${{env.VCPKG_PACKAGES}}
8790
vcpkgDirectory: '${{ github.workspace }}\vcpkg'

0 commit comments

Comments
 (0)