Skip to content

Commit 1849da1

Browse files
authored
chore(ci): update github actions to node24 versions (#3027)
- actions/checkout v4 → v6 - actions/setup-node v4 → v6 - actions/cache v4 → v5 - actions/upload-artifact v4 → v5 All Node.js 24 runtime upgrades with no breaking changes.
1 parent d32bf9a commit 1849da1

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

.github/workflows/chocolatey.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222

2323
steps:
2424
- name: Check out Git repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626

2727
- name: Install Node.js
28-
uses: actions/setup-node@v4
28+
uses: actions/setup-node@v6
2929
with:
3030
node-version: '18.17.1'
3131

3232
- name: Cache bigger downloads
33-
uses: actions/cache@v4
33+
uses: actions/cache@v5
3434
id: cache
3535
with:
3636
path: ${{ github.workspace }}/.cache

.github/workflows/ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Check out Git repository
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2323

2424
- name: Install Node.js
25-
uses: actions/setup-node@v4
25+
uses: actions/setup-node@v6
2626
with:
2727
node-version: 'lts/*'
2828

@@ -34,14 +34,14 @@ jobs:
3434
echo '::echo::off'
3535
shell: bash
3636
- name: Cache webui
37-
uses: actions/cache@v4
37+
uses: actions/cache@v5
3838
id: webui-cache
3939
with:
4040
path: assets/webui
4141
key: ${{ steps.read-webui-version.outputs.cid }}
4242

4343
- name: Cache bigger downloads
44-
uses: actions/cache@v4
44+
uses: actions/cache@v5
4545
id: cache
4646
if: steps.webui-cache.outputs.cache-hit != 'true'
4747
with:
@@ -66,7 +66,7 @@ jobs:
6666
npm run force-webui-download
6767
6868
- name: Attach cached ipfs-webui to Github Action
69-
uses: actions/upload-artifact@v4
69+
uses: actions/upload-artifact@v5
7070
with:
7171
name: ipfs-webui
7272
path: assets/webui
@@ -82,10 +82,10 @@ jobs:
8282

8383
steps:
8484
- name: Check out Git repository
85-
uses: actions/checkout@v4
85+
uses: actions/checkout@v6
8686

8787
- name: Install Node.js
88-
uses: actions/setup-node@v4
88+
uses: actions/setup-node@v6
8989
with:
9090
node-version: 'lts/*'
9191

@@ -94,14 +94,14 @@ jobs:
9494
run: echo "cid=$(grep "build:webui:download" package.json | grep -Eio "bafy[a-z0-9]+")" >> $GITHUB_OUTPUT
9595
shell: bash
9696
- name: Cache webui
97-
uses: actions/cache@v4
97+
uses: actions/cache@v5
9898
id: webui-cache
9999
with:
100100
path: assets/webui
101101
key: ${{ steps.read-webui-version.outputs.cid }}
102102

103103
- name: Cache bigger downloads
104-
uses: actions/cache@v4
104+
uses: actions/cache@v5
105105
id: cache
106106
with:
107107
path: ${{ github.workspace }}/.cache
@@ -152,10 +152,10 @@ jobs:
152152

153153
steps:
154154
- name: Check out Git repository
155-
uses: actions/checkout@v4
155+
uses: actions/checkout@v6
156156

157157
- name: Install Node.js
158-
uses: actions/setup-node@v4
158+
uses: actions/setup-node@v6
159159
with:
160160
node-version: 'lts/*'
161161

@@ -164,14 +164,14 @@ jobs:
164164
run: echo "cid=$(grep "build:webui:download" package.json | grep -Eio "bafy[a-z0-9]+")" >> $GITHUB_OUTPUT
165165
shell: bash
166166
- name: Cache webui
167-
uses: actions/cache@v4
167+
uses: actions/cache@v5
168168
id: webui-cache
169169
with:
170170
path: assets/webui
171171
key: ${{ steps.read-webui-version.outputs.cid }}
172172

173173
- name: Cache bigger downloads
174-
uses: actions/cache@v4
174+
uses: actions/cache@v5
175175
id: cache
176176
with:
177177
path: ${{ github.workspace }}/.cache
@@ -254,7 +254,7 @@ jobs:
254254
# - action artifacts can be downloaded for 90 days, then are removed by github
255255
# - binaries in PRs from forks won't be signed
256256
- name: Attach produced packages to Github Action
257-
uses: actions/upload-artifact@v4
257+
uses: actions/upload-artifact@v5
258258
with:
259259
name: dist-${{ matrix.os }}
260260
path: dist/*esktop*.*

0 commit comments

Comments
 (0)