mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
opt: vcpkg manifest error (#1565)
* opt: vcpkg manifest error * opt: seperate breadpad into feature * fix: vcpkg manifest mode
This commit is contained in:
parent
d16fb0bb83
commit
5993bc9d1c
8
.github/workflows/windows-6.x.yml
vendored
8
.github/workflows/windows-6.x.yml
vendored
|
@ -140,12 +140,16 @@ jobs:
|
||||||
echo "$VAR_VERSION-$VAR_SUFFIX.$release_date.$current_tag">version.txt
|
echo "$VAR_VERSION-$VAR_SUFFIX.$release_date.$current_tag">version.txt
|
||||||
cat version.txt
|
cat version.txt
|
||||||
echo "$version"
|
echo "$version"
|
||||||
|
# rename the vcpkg.json. with this file existed,the vcpkg action will fall to manifest mode
|
||||||
|
- name: remove vcpkg.json
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
mv vcpkg.json vcpkg.json.bak
|
||||||
- name: vcpkg build
|
- name: vcpkg build
|
||||||
uses: johnwason/vcpkg-action@v6
|
uses: johnwason/vcpkg-action@v6
|
||||||
id: vcpkg
|
id: vcpkg
|
||||||
with:
|
with:
|
||||||
# pkgs: ffmpeg[core,avcodec,avformat,mp3lame,opus,speex,swresample,vorbis,fdk-aac,gpl] breakpad
|
#manifest-dir: ${{ github.workspace }}
|
||||||
pkgs: breakpad
|
pkgs: breakpad
|
||||||
triplet: x64-windows-release
|
triplet: x64-windows-release
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
|
|
|
@ -13,5 +13,11 @@
|
||||||
"xapian",
|
"xapian",
|
||||||
"zlib",
|
"zlib",
|
||||||
"openssl"
|
"openssl"
|
||||||
]
|
],
|
||||||
|
"features": {
|
||||||
|
"breakpad": {
|
||||||
|
"description": "enable breakpad crash reporting",
|
||||||
|
"dependencies": [ "breakpad" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue