summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2021-04-09 10:24:13 +0900
committerGitHub <noreply@github.com>2021-04-09 10:24:13 +0900
commit3168fa4ee7782e72b57745483a7b0df5df5ce083 (patch)
treeb30cbd865eff9f37ed9ecef91031f8f8b812e1b5
parent1ed95120225eb3d7c9adeadcc3b1f610dbe55b7e (diff)
ci: add gnu tar path (#10075)
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f2a39e08f..32b473ee1 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'