Scheduling infrastructure for absolutely everyone.
fix: remove PR/commit-specific keys from docs-build cache (#26379)
Keith Williamsb66797a3af07
diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.ymlindex abecee2f75d..ccf44ed8a6a 100644--- a/.github/workflows/docs-build.yml+++ b/.github/workflows/docs-build.yml@@ -20,16 +20,10 @@ jobs:cache-name: docs-buildkey-1: ${{ hashFiles('yarn.lock') }}key-2: ${{ hashFiles('docs/**.*', '!**/node_modules') }}- key-3: ${{ github.event.pull_request.number || github.ref }}- key-4: ${{ github.sha }}with:path: |**/docs/**- key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-${{ env.key-3 }}-${{ env.key-4 }}- # Log cache hit- - name: Log Cache Hit- if: steps.cache-docs-build.outputs.cache-hit == 'true'- run: echo "Cache hit for Docs build. Skipping build."+ key: ${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}- name: Run buildif: steps.cache-docs-build.outputs.cache-hit != 'true'working-directory: docs