Skip to content

Commit

Permalink
Upgrade action cache version (#30)
Browse files Browse the repository at this point in the history
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/.
```
  • Loading branch information
LucilleH authored Feb 2, 2024
1 parent e523b1c commit 4a7f1d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ runs:
- name: Mount devbox cli cache
if: inputs.refresh-cli == 'false'
id: cache-devbox-cli
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: /usr/local/bin/devbox
key: ${{ runner.os }}-devbox-cli-${{ env.latest_version }}
Expand Down Expand Up @@ -96,7 +96,7 @@ runs:
- name: Save devbox cli cache
if: inputs.refresh-cli == 'false' && steps.cache-devbox-cli.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: /usr/local/bin/devbox
key: ${{ runner.os }}-devbox-cli-${{ env.latest_version }}
Expand Down Expand Up @@ -135,7 +135,7 @@ runs:
- name: Mount nix store cache
id: cache-devbox-nix-store
if: inputs.enable-cache == 'true'
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: |
~/.cache/devbox
Expand All @@ -154,7 +154,7 @@ runs:
- name: Save nix store cache
if: inputs.enable-cache == 'true' && steps.cache-devbox-nix-store.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: |
~/.cache/devbox
Expand Down

0 comments on commit 4a7f1d5

Please sign in to comment.