diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 21f0778..1bedf1b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,12 +47,11 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "dir=$(yarn cache dir)" >> $GITHUB_ENV - + run: echo "::set-output name=dir::$(yarn cache dir)" - uses: actions/cache@v4.0.2 id: yarn-cache with: - path: ${{ env.dir }} + path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn-