summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2021-04-09 02:37:59 +0900
committerGitHub <noreply@github.com>2021-04-08 13:37:59 -0400
commit3dd525d7675f8434dac07ba359480e0d6cb07a7a (patch)
treee930147cb16f798e294446609e77d88660598ae1
parent4e70ff80c2f630875b73c9010d959b518a977715 (diff)
ci: use gnu tar on macos (#10069)
-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: