Skip to content

Commit 9763c60

Browse files
committed
chore(ci): bump GitHub Actions to Node.js 24-compatible majors
Node.js 20 actions are deprecated; the runner forces Node 24 by default starting 2026-06-02 and removes Node 20 on 2026-09-16. Bump all Node-based third-party actions to their current major. No call-site changes needed — each bump only moves the runtime to Node 24 (plus, for the docker/* family, an internal switch to ESM). - actions/checkout v4 → v6 - actions/upload-artifact v4 → v7 - actions/download-artifact v4 → v8 - softprops/action-gh-release v2 → v3 - docker/setup-qemu-action v3 → v4 - docker/setup-buildx-action v3 → v4 - docker/login-action v3 → v4 - docker/metadata-action v5 → v6 - docker/build-push-action v6 → v7 Swatinem/rust-cache@v2 and dtolnay/rust-toolchain (composite) are already at their current shipping form and unchanged.
1 parent f3f9f8a commit 9763c60

3 files changed

Lines changed: 36 additions & 36 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
env:
2424
CARGO_TERM_COLOR: always
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2727

2828
- name: Install Linux system dependencies
2929
run: |
@@ -64,7 +64,7 @@ jobs:
6464
env:
6565
CARGO_TERM_COLOR: always
6666
steps:
67-
- uses: actions/checkout@v4
67+
- uses: actions/checkout@v6
6868

6969
- name: Install Linux system dependencies
7070
if: runner.os == 'Linux'
@@ -94,7 +94,7 @@ jobs:
9494
MDBOOK_VERSION: 0.5.2
9595
MDBOOK_MERMAID_VERSION: 0.17.0
9696
steps:
97-
- uses: actions/checkout@v4
97+
- uses: actions/checkout@v6
9898

9999
- uses: dtolnay/rust-toolchain@stable
100100

.github/workflows/fuzz.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- fuzz_file_cache_decode
2121
- fuzz_unpack_object
2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v6
2424

2525
- name: Install nightly toolchain
2626
uses: dtolnay/rust-toolchain@nightly
@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Upload crash artifacts
3939
if: failure()
40-
uses: actions/upload-artifact@v4
40+
uses: actions/upload-artifact@v7
4141
with:
4242
name: fuzz-crashes-${{ matrix.target }}
4343
path: fuzz/artifacts/${{ matrix.target }}/

.github/workflows/release.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
# If bumped, update MIN_GLIBC_MAJOR/MIN_GLIBC_MINOR in docs/src/install.sh.
5353
runs-on: ubuntu-24.04
5454
steps:
55-
- uses: actions/checkout@v4
55+
- uses: actions/checkout@v6
5656
- uses: dtolnay/rust-toolchain@stable
5757
- uses: Swatinem/rust-cache@v2
5858
with:
@@ -76,7 +76,7 @@ jobs:
7676
ARCHIVE="vykar-${VERSION}-x86_64-unknown-linux-gnu.tar.gz"
7777
tar -czf "${ARCHIVE}" -C target/release vykar vykar-server vykar-gui
7878
- name: Upload artifact
79-
uses: actions/upload-artifact@v4
79+
uses: actions/upload-artifact@v7
8080
with:
8181
name: linux-x86_64-unknown-linux-gnu
8282
path: vykar-*.tar.gz
@@ -87,10 +87,10 @@ jobs:
8787
needs: build-linux
8888
runs-on: ubuntu-24.04
8989
steps:
90-
- uses: actions/checkout@v4
90+
- uses: actions/checkout@v6
9191

9292
- name: Download Linux build artifact
93-
uses: actions/download-artifact@v4
93+
uses: actions/download-artifact@v8
9494
with:
9595
name: linux-x86_64-unknown-linux-gnu
9696
path: dist
@@ -142,7 +142,7 @@ jobs:
142142
VERSION="${GITHUB_REF_NAME}"
143143
fi
144144
mv ./*.AppImage "vykar-gui-${VERSION}-x86_64.AppImage"
145-
- uses: actions/upload-artifact@v4
145+
- uses: actions/upload-artifact@v7
146146
with:
147147
name: linux-x86_64-appimage
148148
path: vykar-gui-*.AppImage
@@ -152,7 +152,7 @@ jobs:
152152
if: github.event_name != 'workflow_dispatch' || github.event.inputs.build_linux == 'true'
153153
runs-on: ubuntu-latest
154154
steps:
155-
- uses: actions/checkout@v4
155+
- uses: actions/checkout@v6
156156
- uses: dtolnay/rust-toolchain@stable
157157
with:
158158
targets: x86_64-unknown-linux-musl
@@ -176,7 +176,7 @@ jobs:
176176
ARCHIVE="vykar-${VERSION}-x86_64-unknown-linux-musl.tar.gz"
177177
tar -czf "${ARCHIVE}" -C target/x86_64-unknown-linux-musl/release vykar vykar-server
178178
- name: Upload artifact
179-
uses: actions/upload-artifact@v4
179+
uses: actions/upload-artifact@v7
180180
with:
181181
name: linux-x86_64-unknown-linux-musl
182182
path: vykar-*.tar.gz
@@ -186,7 +186,7 @@ jobs:
186186
if: github.event_name != 'workflow_dispatch' || github.event.inputs.build_linux == 'true'
187187
runs-on: ubuntu-22.04-arm
188188
steps:
189-
- uses: actions/checkout@v4
189+
- uses: actions/checkout@v6
190190
- uses: dtolnay/rust-toolchain@stable
191191
- uses: Swatinem/rust-cache@v2
192192
with:
@@ -208,7 +208,7 @@ jobs:
208208
ARCHIVE="vykar-${VERSION}-aarch64-unknown-linux-gnu.tar.gz"
209209
tar -czf "${ARCHIVE}" -C target/release vykar vykar-server
210210
- name: Upload artifact
211-
uses: actions/upload-artifact@v4
211+
uses: actions/upload-artifact@v7
212212
with:
213213
name: linux-aarch64-unknown-linux-gnu
214214
path: vykar-*.tar.gz
@@ -218,7 +218,7 @@ jobs:
218218
if: github.event_name != 'workflow_dispatch' || github.event.inputs.build_linux == 'true'
219219
runs-on: ubuntu-24.04-arm
220220
steps:
221-
- uses: actions/checkout@v4
221+
- uses: actions/checkout@v6
222222
- uses: dtolnay/rust-toolchain@stable
223223
with:
224224
targets: aarch64-unknown-linux-musl
@@ -242,7 +242,7 @@ jobs:
242242
ARCHIVE="vykar-${VERSION}-aarch64-unknown-linux-musl.tar.gz"
243243
tar -czf "${ARCHIVE}" -C target/aarch64-unknown-linux-musl/release vykar vykar-server
244244
- name: Upload artifact
245-
uses: actions/upload-artifact@v4
245+
uses: actions/upload-artifact@v7
246246
with:
247247
name: linux-aarch64-unknown-linux-musl
248248
path: vykar-*.tar.gz
@@ -255,7 +255,7 @@ jobs:
255255
env:
256256
HAS_SIGNING: ${{ secrets.MACOS_CERTIFICATE }}
257257
steps:
258-
- uses: actions/checkout@v4
258+
- uses: actions/checkout@v6
259259
- uses: dtolnay/rust-toolchain@stable
260260
with:
261261
targets: aarch64-apple-darwin
@@ -317,7 +317,7 @@ jobs:
317317
ARCHIVE="vykar-${VERSION}-aarch64-apple-darwin.tar.gz"
318318
tar -czf "${ARCHIVE}" -C "${RELEASE_DIR}" vykar vykar-server "Vykar Backup.app"
319319
- name: Upload artifact
320-
uses: actions/upload-artifact@v4
320+
uses: actions/upload-artifact@v7
321321
with:
322322
name: macos-aarch64-apple-darwin
323323
path: vykar-*.tar.gz
@@ -327,7 +327,7 @@ jobs:
327327
if: github.event_name != 'workflow_dispatch' || github.event.inputs.build_windows == 'true'
328328
runs-on: windows-latest
329329
steps:
330-
- uses: actions/checkout@v4
330+
- uses: actions/checkout@v6
331331
- uses: dtolnay/rust-toolchain@stable
332332
with:
333333
targets: x86_64-pc-windows-msvc
@@ -348,7 +348,7 @@ jobs:
348348
$archive = "vykar-$version-x86_64-pc-windows-msvc.zip"
349349
Compress-Archive -Path "target/x86_64-pc-windows-msvc/release/vykar.exe","target/x86_64-pc-windows-msvc/release/vykar-server.exe","target/x86_64-pc-windows-msvc/release/vykar-gui.exe" -DestinationPath $archive -Force
350350
- name: Upload artifact
351-
uses: actions/upload-artifact@v4
351+
uses: actions/upload-artifact@v7
352352
with:
353353
name: windows-x86_64-pc-windows-msvc
354354
path: vykar-*.zip
@@ -362,8 +362,8 @@ jobs:
362362
env:
363363
HAS_SIGNING: ${{ secrets.CERTUM_CERT_SHA1 }}
364364
steps:
365-
- uses: actions/checkout@v4
366-
- uses: actions/download-artifact@v4
365+
- uses: actions/checkout@v6
366+
- uses: actions/download-artifact@v8
367367
if: env.HAS_SIGNING != ''
368368
with:
369369
name: windows-x86_64-pc-windows-msvc
@@ -382,12 +382,12 @@ jobs:
382382
cd dist && zip -j "$(basename "$ARCHIVE" .zip).zip" unsigned/*.exe && cd ..
383383
- name: Upload sign-windows screenshots
384384
if: failure()
385-
uses: actions/upload-artifact@v4
385+
uses: actions/upload-artifact@v7
386386
with:
387387
name: sign-windows-screens
388388
path: /tmp/sign-screens/
389389
if-no-files-found: ignore
390-
- uses: actions/upload-artifact@v4
390+
- uses: actions/upload-artifact@v7
391391
if: env.HAS_SIGNING != ''
392392
with:
393393
name: windows-x86_64-pc-windows-msvc
@@ -409,13 +409,13 @@ jobs:
409409
- build-macos
410410
- sign-windows
411411
steps:
412-
- uses: actions/download-artifact@v4
412+
- uses: actions/download-artifact@v8
413413
with:
414414
path: dist
415415
pattern: '{linux,macos,windows}-*'
416416
merge-multiple: true
417417
- name: Publish GitHub release
418-
uses: softprops/action-gh-release@v2
418+
uses: softprops/action-gh-release@v3
419419
with:
420420
files: dist/*
421421

@@ -427,13 +427,13 @@ jobs:
427427
permissions:
428428
packages: write
429429
steps:
430-
- uses: actions/checkout@v4
430+
- uses: actions/checkout@v6
431431

432-
- uses: actions/download-artifact@v4
432+
- uses: actions/download-artifact@v8
433433
with:
434434
name: linux-x86_64-unknown-linux-musl
435435
path: artifacts/amd64
436-
- uses: actions/download-artifact@v4
436+
- uses: actions/download-artifact@v8
437437
with:
438438
name: linux-aarch64-unknown-linux-musl
439439
path: artifacts/arm64
@@ -445,9 +445,9 @@ jobs:
445445
tar xzf artifacts/arm64/vykar-*.tar.gz -C bin/linux/arm64
446446
chmod +x bin/linux/*/vykar bin/linux/*/vykar-server
447447
448-
- uses: docker/setup-qemu-action@v3
449-
- uses: docker/setup-buildx-action@v3
450-
- uses: docker/login-action@v3
448+
- uses: docker/setup-qemu-action@v4
449+
- uses: docker/setup-buildx-action@v4
450+
- uses: docker/login-action@v4
451451
with:
452452
registry: ghcr.io
453453
username: ${{ github.actor }}
@@ -458,7 +458,7 @@ jobs:
458458
git fetch --tags
459459
echo "tag=$(git tag -l 'v*' --sort=-v:refname | head -1 | sed 's/^v//')" >> "$GITHUB_OUTPUT"
460460
- id: meta-apprise
461-
uses: docker/metadata-action@v5
461+
uses: docker/metadata-action@v6
462462
with:
463463
images: ghcr.io/borgbase/vykar
464464
flavor: |
@@ -469,7 +469,7 @@ jobs:
469469
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
470470
type=raw,value=latest
471471
type=raw,value=${{ steps.version.outputs.tag }},enable=${{ github.event_name == 'workflow_dispatch' }}
472-
- uses: docker/build-push-action@v6
472+
- uses: docker/build-push-action@v7
473473
with:
474474
context: .
475475
file: Dockerfile.apprise
@@ -479,7 +479,7 @@ jobs:
479479
labels: ${{ steps.meta-apprise.outputs.labels }}
480480

481481
- id: meta
482-
uses: docker/metadata-action@v5
482+
uses: docker/metadata-action@v6
483483
with:
484484
images: ghcr.io/borgbase/vykar
485485
tags: |
@@ -488,7 +488,7 @@ jobs:
488488
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
489489
type=raw,value=latest
490490
type=raw,value=${{ steps.version.outputs.tag }},enable=${{ github.event_name == 'workflow_dispatch' }}
491-
- uses: docker/build-push-action@v6
491+
- uses: docker/build-push-action@v7
492492
with:
493493
context: .
494494
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)