diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 00c17c4fd7..7766c2726c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2091,17 +2091,14 @@ jobs: with: node-version: ${{ env.NODEJS_VERSION }} - uses: actions/checkout@v4.1.1 - - id: yarn-cache-dir-path - name: Get yarn cache directory path - run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT" - id: yarn-cache name: Restore Yarn Cache uses: actions/cache@v4.0.1 with: - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} + key: ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }} + path: ./.yarn/ restore-keys: | - ${{ runner.os }}-yarn- + ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }} - run: ./tools/ci.sh cactus-test-tooling: continue-on-error: false