Skip to content

Commit

Permalink
* .github/workflows/windows-cmake.yml: Add support for vcpkg artifact…
Browse files Browse the repository at this point in the history
…s caching.

git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1918940 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Ivan Zhakov committed Jul 5, 2024
1 parent 5861448 commit 547ae19
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/windows-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,18 @@ jobs:
fail-fast: false

runs-on: ${{ matrix.os }}

env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"

steps:
- name: Export GitHub Actions cache environment variables
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 || '');
- name: Install dependencies
run: vcpkg install --triplet ${{ matrix.triplet }} apr apr-util

Expand Down

0 comments on commit 547ae19

Please sign in to comment.