Skip to content

Commit

Permalink
GH Actions: Newer version of run-vcpkg, older version of Windows
Browse files Browse the repository at this point in the history
The 'windows-latest' image is now windows-2022, but the vcpkg we're
using doesn't know to look for visual studio 2022. Reverting to use
windows-2019 so vcpkg works with it.

Also switching to the run-vcpkg v7.4. Not going with the new v10 series
because that changes the inputs and I'm not ready to figure out how to
change the params to make it work.
  • Loading branch information
micahsnyder committed Jun 17, 2022
1 parent 7488787 commit c34dd0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:

jobs:
build-windows:
runs-on: windows-latest
runs-on: windows-2019

steps:
- uses: actions/checkout@v1
Expand All @@ -39,7 +39,7 @@ jobs:
# Restore from cache the previously built ports. If cache-miss, download, build vcpkg ports.
- name: Restore vcpkg ports from cache or install vcpkg
# Download and build vcpkg, without installing any port. If content is cached already, it is a no-op.
uses: lukka/run-vcpkg@v5
uses: lukka/run-vcpkg@v7.4
id: runvcpkg
with:
vcpkgArguments: "curl[openssl] json-c libxml2 pcre2 check pthreads zlib pdcurses bzip2"
Expand Down

0 comments on commit c34dd0f

Please sign in to comment.