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/bundled_gems.yml | |
parent | 60fc8dda647cbfe272c7b1bdbbb8e54c1fa7816e (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/bundled_gems.yml')
-rw-r--r-- | .github/workflows/bundled_gems.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/bundled_gems.yml b/.github/workflows/bundled_gems.yml index aacc08f395..81ba5cd5b4 100644 --- a/.github/workflows/bundled_gems.yml +++ b/.github/workflows/bundled_gems.yml @@ -38,6 +38,11 @@ jobs: sudo apt-get install --no-install-recommends -q -y build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev bison autoconf ruby if: ${{ steps.diff.outcome == 'failure' }} + - uses: actions/cache@v2 + with: + path: .downloaded-cache + key: downloaded-cache + - name: Build run: | ./autogen.sh |