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,14 +72,14 @@ jobs: | ||
72 | with: | 72 | with: |
73 | node-version: '16.x' | 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 | - name: Cache dependencies | 79 | - name: Cache dependencies |
80 | uses: actions/cache@v3 | 80 | uses: actions/cache@v3 |
81 | with: | 81 | with: |
82 | - path: ${{ steps.yarn-cache.outputs.dir }} | 82 | + path: ${{ steps.yarn-cache-dir-path.outputs.dir }} |
83 | key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | 83 | key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} |
84 | restore-keys: | | 84 | restore-keys: | |
85 | ${{ runner.os }}-yarn- | 85 | ${{ runner.os }}-yarn- |