diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 09e5d12..db930ce 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,16 +28,18 @@ jobs: ref: ${{ github.head_ref }} - name: Get yarn cache - id: yarn-cache - run: echo "::set-output name=dir::${yarn cache dir}" + id: yarn-cache-dir-path + run: echo "::set-output name=dir::$(yarn cache dir)" - uses: actions/cache@v3 + id: yarn-cache 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- + - name: Install yarn dependencies run: yarn install --froze-lockfile