diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-05-28 20:28:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-28 20:28:02 +0300 |
commit | c6288e31700179f7b2182534bce6846778e61555 (patch) | |
tree | 62b7ca0efae31411e31a6327e7f1e1dc0a1c4c50 /.github | |
parent | d9063498f93dd707f00e9755c940a4502e802c38 (diff) |
Update CI config (#30920)
* update to `actions/cache@v2`
* stop invalidating the cache if test.yml changes
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 02ce6d19dd..a990301dc1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,12 +25,12 @@ jobs: - run: java -version - name: Set up npm cache - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.npm - key: ${{ runner.os }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.github/workflows/test.yml') }} + key: ${{ runner.os }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}} restore-keys: | - ${{ runner.OS }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.github/workflows/test.yml') }} + ${{ runner.OS }}-node-v${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} ${{ runner.OS }}-node-v${{ matrix.node }}- - name: Install npm dependencies |