summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-02-05 21:51:46 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-02-06 22:22:58 +0900
commitb9083c206aa02a824970e809d66607dd2c1a90f1 (patch)
tree9d8eeeb59172145c6d451a0609b0bf486bd4e576 /.github/workflows
parent90a540e9f2072679aaccf1b2549fcc2efa564574 (diff)
downloadruby-b9083c206aa02a824970e809d66607dd2c1a90f1.tar.gz
[MSWin] Cache installed vcpkg packages
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/windows.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index ebe5a0482f..28a07be9cd 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -55,6 +55,13 @@ jobs:
restore-keys: |
${{ runner.os }}-vcpkg-download-${{ matrix.os }}-
${{ runner.os }}-vcpkg-download-
+ - uses: actions/cache@v2
+ with:
+ path: C:\vcpkg\installed
+ key: ${{ runner.os }}-vcpkg-installed-${{ matrix.os }}-${{ github.sha }}
+ restore-keys: |
+ ${{ runner.os }}-vcpkg-installed-${{ matrix.os }}-
+ ${{ runner.os }}-vcpkg-installed-
- name: Install libraries with vcpkg
run: |
vcpkg --triplet x64-windows install readline zlib