aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-11-12 11:27:55 +0900
committerKazuhiro NISHIYAMA <znz@users.noreply.github.com>2019-11-12 12:05:10 +0900
commit593f0b88533c9d327b33d098bb6b3b51df871966 (patch)
treeddf69f24d10a8a2b813e097895cd47d441cb77b3 /.github
parentb38b26c62dc12da1d4fcee39de0c0cad598f5995 (diff)
downloadruby-593f0b88533c9d327b33d098bb6b3b51df871966.tar.gz
Try to use actions/cache on windows
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index f0e65d0f4e..abb362002d 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -22,11 +22,24 @@ jobs:
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
+ - uses: actions/cache@v1
+ with:
+ path: C:\vcpkg\downloads
+ key: ${{ runner.os }}-vcpkg-download-${{ github.sha }}
+ restore-keys: |
+ ${{ runner.os }}-vcpkg-download-
- name: Install libraries with vcpkg
run: |
vcpkg --triplet x64-windows install readline zlib
+ - uses: actions/cache@v1
+ with:
+ path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
+ key: ${{ runner.os }}-chocolatey-${{ github.sha }}
+ restore-keys: |
+ ${{ runner.os }}-chocolatey-
- name: Install libraries with chocolatey
run: |
+ choco config get cacheLocation
choco install --no-progress openssl winflexbison3
# Not using official actions/checkout because it's unstable and sometimes doesn't work for a fork.
- name: Checkout ruby/ruby