Commit 0ad30503a7ce60b182ecf5d7a1c27237b050374d
1 parent
d02ab2d2
chore: update ci
Showing
1 changed file
with
4 additions
and
4 deletions
.github/workflows/deploy.yml
... | ... | @@ -72,14 +72,14 @@ jobs: |
72 | 72 | with: |
73 | 73 | node-version: '16.x' |
74 | 74 | |
75 | -# - name: Get yarn cache | |
76 | -# id: yarn-cache | |
77 | -# run: echo "::set-output name=dir::$(yarn cache dir)" | |
75 | + - name: Get yarn cache directory path | |
76 | + id: yarn-cache-dir-path | |
77 | + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT | |
78 | 78 | |
79 | 79 | - name: Cache dependencies |
80 | 80 | uses: actions/cache@v3 |
81 | 81 | with: |
82 | - path: ${{ steps.yarn-cache.outputs.dir }} | |
82 | + path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
83 | 83 | key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} |
84 | 84 | restore-keys: | |
85 | 85 | ${{ runner.os }}-yarn- | ... | ... |