diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-12-02 22:21:20 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 22:21:20 +0900 |
commit | 3f1dcd7fffbe94538c233d4f916523b00dbc2889 (patch) | |
tree | a9e26a86003b1354def75386ce1c055f5a5ab97a /.github/workflows/windows.yml | |
parent | 60fc8dda647cbfe272c7b1bdbbb8e54c1fa7816e (diff) | |
download | ruby-3f1dcd7fffbe94538c233d4f916523b00dbc2889.tar.gz |
Cache downloaded files
Cache downloaded external libraries/gems, which are expected not
changed so frequently.
Also sometimes downloading from zlib returns the current time as
the date header in unexpected format, and checksums mismatch at
that time.
Diffstat (limited to '.github/workflows/windows.yml')
-rw-r--r-- | .github/workflows/windows.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index aba192fdda..60f9b760ec 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -80,6 +80,10 @@ jobs: - uses: actions/checkout@v2 with: path: src + - uses: actions/cache@v2 + with: + path: src/.downloaded-cache + key: downloaded-cache - name: setup env # %TEMP% is inconsistent with %TMP% and test-all expects they are consistent. # https://github.com/actions/virtual-environments/issues/712#issuecomment-613004302 |