From 093943e4ed82aa293cddec8a079326f4193da599 Mon Sep 17 00:00:00 2001 From: Joel Marcey Date: Tue, 10 Dec 2024 12:01:02 -0800 Subject: [PATCH 1/2] 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/cache@v4.2.0 actions/cache@v3.4.0 @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. ``` --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 94084f215..f69039565 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Node uses: actions/setup-node@v2.1.2 From a8ae1fcb41a9105a6ea0c0c56af6cd00efb8d490 Mon Sep 17 00:00:00 2001 From: Joel Marcey Date: Tue, 10 Dec 2024 12:51:33 -0800 Subject: [PATCH 2/2] Actually change the correct action --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f69039565..4ee99147d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 - name: Setup Node uses: actions/setup-node@v2.1.2 @@ -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') }}