ci: use sithlord48/vcpkg-action@v7
This commit is contained in:
parent
0c94adf03c
commit
97863bda7c
1 changed files with 1 additions and 16 deletions
17
.github/actions/install-dependencies/action.yml
vendored
17
.github/actions/install-dependencies/action.yml
vendored
|
|
@ -85,30 +85,15 @@ runs:
|
||||||
if: ${{ runner.os == 'Windows' }}
|
if: ${{ runner.os == 'Windows' }}
|
||||||
uses: seanmiddleditch/gha-setup-ninja@master
|
uses: seanmiddleditch/gha-setup-ninja@master
|
||||||
|
|
||||||
- name: Export GitHub Actions cache environment variables
|
|
||||||
if: ${{ runner.os == 'Windows' }}
|
|
||||||
uses: actions/github-script@v7
|
|
||||||
with:
|
|
||||||
script: |
|
|
||||||
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
|
|
||||||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
|
|
||||||
|
|
||||||
#Set vcpkg binary sources to use GitHub Actions cache
|
|
||||||
- name: Set vcpkg binary sources
|
|
||||||
if: ${{ runner.os == 'Windows' }}
|
|
||||||
run: echo "VCPKG_BINARY_SOURCES=clear;x-gha,readwrite" >> $GITHUB_ENV
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Build and cache vcpkg
|
- name: Build and cache vcpkg
|
||||||
if: ${{ runner.os == 'Windows' }}
|
if: ${{ runner.os == 'Windows' }}
|
||||||
id: vcpkg
|
id: vcpkg
|
||||||
uses: johnwason/vcpkg-action@v6
|
uses: sithlord48/vcpkg-action@v7
|
||||||
with:
|
with:
|
||||||
pkgs: gtest openssl
|
pkgs: gtest openssl
|
||||||
extra-args: --classic
|
extra-args: --classic
|
||||||
triplet: x64-windows-release
|
triplet: x64-windows-release
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
github-binarycache: false
|
|
||||||
|
|
||||||
- name: Install Wix
|
- name: Install Wix
|
||||||
if: ${{ runner.os == 'Windows' }}
|
if: ${{ runner.os == 'Windows' }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue