summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4f76e8cd7..36b462ab2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -163,6 +163,13 @@ jobs:
- name: Restore timestamps
run: python ./tools/restore_mtime.py
+ # Work around https://github.com/actions/cache/issues/403 by using GNU tar
+ # instead of BSD tar.
+ - name: Install GNU tar
+ if: matrix.os == 'macos-10.15'
+ run: |
+ brew install gnu-tar
+
- name: Cache
uses: actions/cache@v2
with: