Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
Update version of actions/cache (#604)
Browse files Browse the repository at this point in the history
* Update version of actions/cache

v2 of `cache` is going to stop working. 

```
Starting February 1st, 2025, we are closing down v1-v2 of actions/cache (read more about it in this changelog announcement) as well as all previous versions of the @actions/cache package in actions/toolkit. Attempting to use a version of the @actions/cache package or actions/cache after the announced deprecation date will result in a workflow failure. If you are pinned to a specific version or SHA of the cache action, your workflows will also fail after February 1st.

What you need to do:
We strongly encourage you to update your workflows to begin using a supported version of actions/cache, and upgrade your actions or other products that depend on the @actions/cache package to 4.0.0 or above.

Supported versions and tags:

actions/cache:
actions/cache@v4
actions/cache@v3
actions/[email protected]
actions/[email protected]
@actions/cache package in actions/toolkit: 4.0.0

Cached entries within their retention period will remain accessible from the UI or REST API regardless of the version used to upload.
```

* Actually change the correct action
  • Loading branch information
JoelMarcey authored Dec 11, 2024
1 parent b39eb19 commit 87c9aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
node-version: '14.x'

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down

0 comments on commit 87c9aa7

Please sign in to comment.