diff --git a/.github/workflows/pull-request-build.yml b/.github/workflows/pull-request-build.yml index db0b02296..ae6e15cf5 100644 --- a/.github/workflows/pull-request-build.yml +++ b/.github/workflows/pull-request-build.yml @@ -37,16 +37,16 @@ jobs: - name: Use Yarn cache (Linux/MacOS) if: ${{ matrix.os != 'windows-latest' }} + id: yarn-cache-linux-macos uses: actions/cache@v4 - id: yarn-cache with: path: ~/.cache/yarn key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - name: Use Yarn cache (Windows) if: ${{ matrix.os == 'windows-latest' }} + id: yarn-cache-windows uses: actions/cache@v4 - id: yarn-cache with: path: C:\Users\runneradmin\AppData\Local\Yarn\Cache key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}