mirror of https://github.com/OpenVPN/openvpn-gui
GHA: Update run-vcpkg to v11
Switches to vcpkg-caching instead of directory caching. While here, don't explicitely export VCPKG_ROOT. run-vcpkg already takes care of that. Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>pull/638/head
parent
3b283d470b
commit
7f6e8b7b6d
|
@ -15,10 +15,6 @@ jobs:
|
||||||
name: "- ovpn3"
|
name: "- ovpn3"
|
||||||
upload_name: "_ovpn3"
|
upload_name: "_ovpn3"
|
||||||
|
|
||||||
env:
|
|
||||||
# Indicates the location of the vcpkg as a Git submodule of the project repository.
|
|
||||||
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
|
|
||||||
|
|
||||||
name: 'msvc - ${{matrix.arch}} ${{ matrix.ovpn3.name }}'
|
name: 'msvc - ${{matrix.arch}} ${{ matrix.ovpn3.name }}'
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -26,10 +22,10 @@ jobs:
|
||||||
- uses: lukka/get-cmake@latest
|
- uses: lukka/get-cmake@latest
|
||||||
|
|
||||||
- name: Restore artifacts, or setup vcpkg (do not install any package)
|
- name: Restore artifacts, or setup vcpkg (do not install any package)
|
||||||
uses: lukka/run-vcpkg@v10
|
uses: lukka/run-vcpkg@v11
|
||||||
with:
|
with:
|
||||||
vcpkgGitCommitId: "6adca01a3fadca0cc0b80f03ec57c7c3a0be5c02"
|
vcpkgDirectory: '${{ runner.workspace }}/b/vcpkg'
|
||||||
appendedCacheKey: "${{ matrix.arch }}"
|
vcpkgGitCommitId: "1ba9a2591f15af5900f2ce2b3e2bf31771e3ac48"
|
||||||
|
|
||||||
- name: Run CMake consuming CMakePreset.json and vcpkg.json by mean of vcpkg.
|
- name: Run CMake consuming CMakePreset.json and vcpkg.json by mean of vcpkg.
|
||||||
uses: lukka/run-cmake@v10
|
uses: lukka/run-cmake@v10
|
||||||
|
|
Loading…
Reference in New Issue