1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

ci: do not include branch name in cache key (#10081)

This commit is contained in:
Yoshiya Hinosawa 2021-04-09 14:43:33 +09:00 committed by GitHub
parent 0d9aa81c69
commit 94c666fc45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -178,9 +178,7 @@ jobs:
~/.cargo/git
~/.cargo/registry
./target
key: cache3-${{ github.ref }}-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
cache3-refs/heads/main-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }}
key: cache4-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }}
- name: test_format.js
if: matrix.kind == 'lint'