1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-03 04:48:52 -05:00

ci: add gnu tar path (#10075)

This commit is contained in:
Yoshiya Hinosawa 2021-04-09 10:24:13 +09:00 committed by GitHub
parent 1ed9512022
commit 3168fa4ee7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,6 +169,7 @@ jobs:
if: matrix.os == 'macos-10.15' if: matrix.os == 'macos-10.15'
run: | run: |
brew install gnu-tar brew install gnu-tar
echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH
- name: Cache - name: Cache
uses: actions/cache@v2 uses: actions/cache@v2
@ -177,9 +178,9 @@ jobs:
~/.cargo/git ~/.cargo/git
~/.cargo/registry ~/.cargo/registry
./target ./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: | 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 - name: test_format.js
if: matrix.kind == 'lint' if: matrix.kind == 'lint'