From de211e3873b83da468ea5384a65fc8e01ae36dcc Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Sun, 26 Feb 2023 23:01:23 +0800 Subject: [PATCH] build: update GitHub Actions cache --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d646c2..3156e24 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,10 +11,9 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - - name: Cache deps - uses: actions/cache@v1 + - uses: actions/cache@v3 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }}