From 579084c9ae1b5f7426cacf7087be00c76735dbf2 Mon Sep 17 00:00:00 2001 From: ReDBrother Date: Tue, 13 Feb 2024 01:09:25 +0300 Subject: [PATCH] fix eslint cache for github actions --- .github/workflows/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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