From 3168fa4ee7782e72b57745483a7b0df5df5ce083 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Fri, 9 Apr 2021 10:24:13 +0900 Subject: [PATCH] ci: add gnu tar path (#10075) --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2a39e08fb..32b473ee1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -169,6 +169,7 @@ jobs: if: matrix.os == 'macos-10.15' run: | brew install gnu-tar + echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH - name: Cache uses: actions/cache@v2 @@ -177,9 +178,9 @@ jobs: ~/.cargo/git ~/.cargo/registry ./target - key: cache2-${{ github.ref }}-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }} + key: cache3-${{ github.ref }}-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }} restore-keys: | - cache2-refs/heads/main-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }} + cache3-refs/heads/main-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }} - name: test_format.js if: matrix.kind == 'lint'