summaryrefslogtreecommitdiff
path: root/.github/workflows/compilers.yml
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-02 22:21:20 +0900
committerGitHub <noreply@github.com>2021-12-02 22:21:20 +0900
commit3f1dcd7fffbe94538c233d4f916523b00dbc2889 (patch)
treea9e26a86003b1354def75386ce1c055f5a5ab97a /.github/workflows/compilers.yml
parent60fc8dda647cbfe272c7b1bdbbb8e54c1fa7816e (diff)
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.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5201 Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to '.github/workflows/compilers.yml')
-rw-r--r--.github/workflows/compilers.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml
index 880eb2b588..2c2b6598f7 100644
--- a/.github/workflows/compilers.yml
+++ b/.github/workflows/compilers.yml
@@ -200,6 +200,10 @@ jobs:
- uses: actions/checkout@v2
with:
path: src
+ - uses: actions/cache@v2
+ with:
+ path: src/.downloaded-cache
+ key: downloaded-cache
- run: ./autogen.sh
working-directory: src
- name: Run configure