From 0ad30503a7ce60b182ecf5d7a1c27237b050374d Mon Sep 17 00:00:00 2001 From: jinmao88 <50581550+jinmao88@users.noreply.github.com> Date: Mon, 30 Jan 2023 15:58:36 +0800 Subject: [PATCH] chore: update ci --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c4261bcd..f50f5e63 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -72,14 +72,14 @@ jobs: with: node-version: '16.x' -# - name: Get yarn cache -# id: yarn-cache -# run: echo "::set-output name=dir::$(yarn cache dir)" + - name: Get yarn cache directory path + id: yarn-cache-dir-path + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Cache dependencies uses: actions/cache@v3 with: - path: ${{ steps.yarn-cache.outputs.dir }} + path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn-