We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d30a518 commit ec869cbCopy full SHA for ec869cb
.github/workflows/lint_and_test.yaml
@@ -26,14 +26,15 @@ jobs:
26
node-version: ${{ matrix.node-version }}
27
28
# https://github.com/actions/cache/blob/master/examples.md#node---yarn
29
- - name: Get yarn cache directory
30
- id: yarn-cache
+ - name: Get yarn cache directory path
+ id: yarn-cache-dir-path
31
run: echo "::set-output name=dir::$(yarn cache dir)"
32
33
- name: Use yarn cache
34
uses: actions/cache@v1
35
+ id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
36
with:
- path: ${{ steps.yarn-cache.outputs.dir }}
37
+ path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
38
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
39
restore-keys: |
40
${{ runner.os }}-yarn-
0 commit comments