From 573c43238ec58f435c61cc68cf39bcde21eceed4 Mon Sep 17 00:00:00 2001 From: Jean Brito Date: Tue, 20 Aug 2024 13:52:14 -0300 Subject: [PATCH] change path --- .github/workflows/pull-request-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request-build.yml b/.github/workflows/pull-request-build.yml index 09f100a74..b457ef58f 100644 --- a/.github/workflows/pull-request-build.yml +++ b/.github/workflows/pull-request-build.yml @@ -37,13 +37,13 @@ jobs: - name: Get Yarn cache directory id: yarn-cache-dir-path - run: echo "dir=$(yarn cache dir)" >> $GITHUB_ENV + run: echo "dir=$(yarn cache dir | tail -n 1)" >> $GITHUB_ENV - name: Use Yarn cache uses: actions/cache@v4 id: yarn-cache with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} + path: ${{ env.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - name: Install package dependencies