Skip to content

Commit 28cad2f

Browse files
Merge pull request #151 from oktechjp/dependabot/github_actions/github-actions-d5b8684899
build(deps): bump actions/cache from 5.0.5 to 6.1.0 in the github-actions group
2 parents d4e8af8 + 085fee4 commit 28cad2f

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/astro.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
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
@@ -81,7 +81,7 @@ jobs:
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 }}

.github/workflows/import.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# Cache node_modules to avoid reinstalling
3131
- name: Restore node_modules cache
3232
id: node-modules-cache
33-
uses: actions/cache@v5.0.5
33+
uses: actions/cache@v6.1.0
3434
with:
3535
path: |
3636
node_modules
@@ -53,7 +53,7 @@ jobs:
5353
# Save node_modules cache if it wasn't cached
5454
- name: Save node_modules cache
5555
if: steps.node-modules-cache.outputs.cache-hit != 'true'
56-
uses: actions/cache/save@v5.0.5
56+
uses: actions/cache/save@v6.1.0
5757
with:
5858
path: |
5959
node_modules

0 commit comments

Comments
 (0)