Skip to content

Commit 4a7f1d5

Browse files
authored
Upgrade action cache version (#30)
TSIA. Addressing the following warning: ``` Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache/restore@v3, [...] For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. ```
1 parent e523b1c commit 4a7f1d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ runs:
5353
- name: Mount devbox cli cache
5454
if: inputs.refresh-cli == 'false'
5555
id: cache-devbox-cli
56-
uses: actions/cache/restore@v3
56+
uses: actions/cache/restore@v4
5757
with:
5858
path: /usr/local/bin/devbox
5959
key: ${{ runner.os }}-devbox-cli-${{ env.latest_version }}
@@ -96,7 +96,7 @@ runs:
9696
9797
- name: Save devbox cli cache
9898
if: inputs.refresh-cli == 'false' && steps.cache-devbox-cli.outputs.cache-hit != 'true'
99-
uses: actions/cache/save@v3
99+
uses: actions/cache/save@v4
100100
with:
101101
path: /usr/local/bin/devbox
102102
key: ${{ runner.os }}-devbox-cli-${{ env.latest_version }}
@@ -135,7 +135,7 @@ runs:
135135
- name: Mount nix store cache
136136
id: cache-devbox-nix-store
137137
if: inputs.enable-cache == 'true'
138-
uses: actions/cache/restore@v3
138+
uses: actions/cache/restore@v4
139139
with:
140140
path: |
141141
~/.cache/devbox
@@ -154,7 +154,7 @@ runs:
154154
155155
- name: Save nix store cache
156156
if: inputs.enable-cache == 'true' && steps.cache-devbox-nix-store.outputs.cache-hit != 'true'
157-
uses: actions/cache/save@v3
157+
uses: actions/cache/save@v4
158158
with:
159159
path: |
160160
~/.cache/devbox

0 commit comments

Comments
 (0)