diff options
author | Marco Ippolito <marcoippolito54@gmail.com> | 2023-04-26 15:43:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 13:43:16 +0000 |
commit | ad5a0d1366a2c019c62e21ac35f62820ed342f31 (patch) | |
tree | 6e21937ce525e29870992d07700f4e36928cee9a /.github | |
parent | 76044c4e2b6ac6f7d7ca02edfdf9f6e475b4edb3 (diff) | |
download | node-new-ad5a0d1366a2c019c62e21ac35f62820ed342f31.tar.gz |
tools: fix update-v8-patch cache
PR-URL: https://github.com/nodejs/node/pull/47725
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/update-v8.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/update-v8.yml b/.github/workflows/update-v8.yml index 4a75947876..5b7e11303e 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: |