From 5ee554397d2cb89ba8240fa1a0f80abc2179acf9 Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Wed, 26 Apr 2023 15:43:16 +0200 Subject: [PATCH] tools: fix update-v8-patch cache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/47725 Reviewed-By: Richard Lau Reviewed-By: Michaƫl Zasso --- .github/workflows/update-v8.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-v8.yml b/.github/workflows/update-v8.yml index 4a75947876f803..5b7e11303e0edc 100644 --- a/.github/workflows/update-v8.yml +++ b/.github/workflows/update-v8.yml @@ -19,12 +19,16 @@ jobs: - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 with: persist-credentials: false - - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 + - name: Cache node modules and update-v8 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 + id: cache-v8-npm + env: + cache-name: cache-v8-npm with: path: | ~/.update-v8 ~/.npm - # Install dependencies + key: ${{ runner.os }}-build-${{ env.cache-name }} - name: Install Node.js uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 with: