From 9a699e082d57b4cef7cbe936cea8d67f5de22a45 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Fri, 11 Oct 2024 15:29:46 -0300 Subject: [PATCH] chore: test cache --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fef3c3f2..7bfe8a30 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,9 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT + run: echo "YARN_CACHE_DIR=$(yarn cache dir)" >> $GITHUB_ENV + + - run: echo $YARN_CACHE_DIR - name: Cache node modules id: cache-npm @@ -24,7 +26,7 @@ jobs: env: cache-name: cache-node-modules with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} + path: ${{ env.YARN_CACHE_DIR }} key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-build-${{ env.cache-name }}-