only use latest tag of vcpkg

Hopefully it will be more stable.
This commit is contained in:
Roman Fomin 2024-01-13 08:18:53 +07:00
parent 37dec7a4ea
commit c047cfbeee

View File

@ -38,7 +38,9 @@ jobs:
set -euo pipefail
cd "${{ env.VCPKG_ROOT }}"
git pull
git fetch --tags
LATESTTAG=$(git describe --tags --abbrev=0)
git checkout $LATESTTAG
./bootstrap-vcpkg.bat
NUGET=$(vcpkg fetch nuget | tail -n 1)