From 8050c4026ce121b05878a90489e411fa6cc7adae Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Fri, 5 Feb 2021 09:44:29 -0800 Subject: [PATCH] ci: Use gnu tar on macOS --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6ffd2fb..3fe315ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,12 @@ jobs: - name: Checkout repo uses: actions/checkout@v2 + # Work around https://github.com/actions/cache/issues/403. + - name: Use GNU tar + if: matrix.os == 'macos-latest' + run: | + echo PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" >> $GITHUB_ENV + - name: Cache artifacts id: cache uses: actions/cache@v2