6161 # Cache node_modules to avoid reinstalling (shared with import workflow)
6262 - name : Restore node_modules cache
6363 id : node-modules-cache
64- uses : actions/cache@v5.0.5
64+ uses : actions/cache@v6.1.0
6565 with :
6666 path : |
6767 ${{ env.BUILD_PATH }}/node_modules
8181 # even if the exact key doesn't exist yet.
8282 - name : Restore Astro cache
8383 id : astro-cache
84- uses : actions/cache/restore@v5.0.5
84+ uses : actions/cache/restore@v6.1.0
8585 with :
8686 path : ${{ env.BUILD_PATH }}/node_modules/.astro
8787 key : ${{ runner.os }}-astro-cache-${{ env.CACHE_KEY }}-${{ hashFiles('**/astro.config.*','**/package-lock.json','**/pnpm-lock.yaml','**/yarn.lock','public/**/*.{png,jpg,jpeg,webp,avif,gif,svg}','src/assets/**/*.{png,jpg,jpeg,webp,avif,gif,svg}','content/**/*.{png,jpg,jpeg,webp,avif,gif,svg}') }}
@@ -116,7 +116,7 @@ jobs:
116116 # Save node_modules cache if it wasn't cached
117117 - name : Save node_modules cache
118118 if : steps.node-modules-cache.outputs.cache-hit != 'true'
119- uses : actions/cache/save@v5.0.5
119+ uses : actions/cache/save@v6.1.0
120120 with :
121121 path : |
122122 ${{ env.BUILD_PATH }}/node_modules
@@ -127,7 +127,7 @@ jobs:
127127 # IMPORTANT: Always save Astro cache so new variants produced this run are kept.
128128 # Append run_id to avoid "already exists", and rely on the restore prefix above to pick the newest next time.
129129 - name : Save Astro cache (always)
130- uses : actions/cache/save@v5.0.5
130+ uses : actions/cache/save@v6.1.0
131131 with :
132132 path : ${{ env.BUILD_PATH }}/node_modules/.astro
133133 key : ${{ runner.os }}-astro-cache-${{ env.CACHE_KEY }}-${{ hashFiles('**/astro.config.*','**/package-lock.json','**/pnpm-lock.yaml','**/yarn.lock','public/**/*.{png,jpg,jpeg,webp,avif,gif,svg}','src/assets/**/*.{png,jpg,jpeg,webp,avif,gif,svg}','content/**/*.{png,jpg,jpeg,webp,avif,gif,svg}') }}-${{ github.run_id }}
0 commit comments