From 3dd525d7675f8434dac07ba359480e0d6cb07a7a Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Fri, 9 Apr 2021 02:37:59 +0900 Subject: ci: use gnu tar on macos (#10069) --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.github/workflows') 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: -- cgit v1.2.3