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/ubuntu.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/ubuntu.yml')
-rw-r--r-- | .github/workflows/ubuntu.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 0cb4b0e3b0..e63e12ac0e 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -66,6 +66,10 @@ jobs: - uses: actions/checkout@v2 with: path: src + - uses: actions/cache@v2 + with: + path: src/.downloaded-cache + key: downloaded-cache - name: Fixed world writable dirs run: | chmod -v go-w $HOME $HOME/.config |