Bumps [actions/cache](https://github.com/actions/cache) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](668228422a...27d5ce7f10)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: 5.0.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
PR-URL: https://github.com/nodejs/node/pull/62847
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
57 lines
2 KiB
YAML
57 lines
2 KiB
YAML
name: V8 patch update
|
|
on:
|
|
schedule:
|
|
# Run once a week at 00:05 AM UTC on Sunday.
|
|
- cron: 5 0 * * 0
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
NODE_VERSION: lts/*
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
v8-update:
|
|
if: github.repository == 'nodejs/node'
|
|
runs-on: ubuntu-slim
|
|
steps:
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
with:
|
|
persist-credentials: false
|
|
- name: Cache node modules and update-v8
|
|
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
|
id: cache-v8-npm
|
|
env:
|
|
cache-name: cache-v8-npm
|
|
with:
|
|
path: |
|
|
~/.update-v8
|
|
~/.npm
|
|
key: ${{ runner.os }}-build-${{ env.cache-name }}
|
|
- name: Install Node.js
|
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
with:
|
|
node-version: ${{ env.NODE_VERSION }}
|
|
- name: Install @node-core/utils
|
|
run: npm install -g @node-core/utils
|
|
- name: Setup Git config
|
|
run: |
|
|
git config --global user.name "Node.js GitHub Bot"
|
|
git config --global user.email "github-bot@iojs.org"
|
|
- name: Check and download new V8 version
|
|
run: |
|
|
./tools/dep_updaters/update-v8-patch.sh > temp-output
|
|
cat temp-output
|
|
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
|
|
rm temp-output
|
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
# Creates a PR or update the Action's existing PR, or
|
|
# no-op if the base branch is already up-to-date.
|
|
with:
|
|
token: ${{ secrets.GH_USER_TOKEN }}
|
|
branch: actions/update-v8-patch # Custom branch *just* for this Action.
|
|
delete-branch: true
|
|
title: 'deps: patch V8 to ${{ env.NEW_VERSION }}'
|
|
body: This is an automated patch update of V8 to ${{ env.NEW_VERSION }}.
|
|
labels: dependencies, v8 engine
|