Skip to content

Commit

Permalink
CI: Don't pin vcpkg to a specific commit and let CMake run it
Browse files Browse the repository at this point in the history
Ports such as OpenSSL depend on MSYS2 packages on Windows, exhibiting a problem:
when the packages are updated older versions are removed from the repository.

As a result, CI builds fail because all downloads break despite the numerous mirrors.
This commit removes the vcpkgGitCommitId property, ensuring ports are always updated.

As for letting CMake run vcpkg: it's recommended by run-vcpkg's author.
  • Loading branch information
davidebeatrici committed Mar 3, 2024
1 parent 4321355 commit fe3d182
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ jobs:
- uses: lukka/get-cmake@latest

- uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: 19af97cba8ca48474e4ad15a24ed50271a9ecdac
runVcpkgInstall: true

- uses: lukka/[email protected]
with:
Expand Down

0 comments on commit fe3d182

Please sign in to comment.