From 3dd525d7675f8434dac07ba359480e0d6cb07a7a Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Fri, 9 Apr 2021 02:37:59 +0900 Subject: [PATCH] ci: use gnu tar on macos (#10069) --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f76e8cd7d..36b462ab28 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: