Skip to content

Commit 019bfcd

Browse files
committed
[no-issue]:svarga:ci, opt into Node 24 runtime and bump pinned action versions
- Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true at workflow level in ci.yml, package.yml, docs.yml to silence Node 20 deprecation warnings from transitive actions (awalsh128/cache-apt-pkgs-action -> actions/cache/restore@v4, codecov/codecov-action -> actions/github-script, direct actions/cache@v4). - Bump package.yml: actions/checkout@v4 -> @v6, actions/upload-artifact@v4 -> @v7, actions/download-artifact@v4 -> @v8 (aligns with ci.yml). - Bump docs.yml: actions/checkout@v4 -> @v6.
1 parent 8cd74ad commit 019bfcd

3 files changed

Lines changed: 20 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ on:
1010
permissions:
1111
contents: write
1212

13+
env:
14+
# Opt into Node 24 runtime for JavaScript actions (default flips 2026-06-02).
15+
# Silences deprecation warnings from transitive Node-20 actions inside
16+
# awalsh128/cache-apt-pkgs-action, codecov/codecov-action, and actions/cache@v4.
17+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
18+
1319
concurrency:
1420
group: ci-${{ github.ref }}
1521
cancel-in-progress: true

.github/workflows/docs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@ on:
55
branches: [release, staging]
66

77
permissions:
8-
contents: write
8+
contents: write
9+
10+
env:
11+
# Opt into Node 24 runtime for JavaScript actions (default flips 2026-06-02).
12+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
913

1014
jobs:
1115
deploy:
1216
runs-on: ubuntu-latest
1317

1418
steps:
1519
- name: Checkout repo
16-
uses: actions/checkout@v4
20+
uses: actions/checkout@v6
1721

1822
- name: Set up Python
1923
uses: actions/setup-python@v5

.github/workflows/package.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
permissions:
88
contents: write
99

10+
env:
11+
# Opt into Node 24 runtime for JavaScript actions (default flips 2026-06-02).
12+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
13+
1014
jobs:
1115
package:
1216
name: ${{ matrix.os }} / ${{ matrix.format }}
@@ -51,7 +55,7 @@ jobs:
5155

5256
steps:
5357
- name: Checkout
54-
uses: actions/checkout@v4
58+
uses: actions/checkout@v6
5559
with:
5660
fetch-depth: 0
5761

@@ -214,7 +218,7 @@ jobs:
214218
CPACK_RPM_PACKAGE_ARCHITECTURE: ${{ matrix.rpm_arch }}
215219

216220
- name: Upload artifact
217-
uses: actions/upload-artifact@v4
221+
uses: actions/upload-artifact@v7
218222
with:
219223
name: h5cpp-compiler-${{ matrix.os }}-${{ matrix.format }}
220224
if-no-files-found: error
@@ -232,10 +236,10 @@ jobs:
232236

233237
steps:
234238
- name: Checkout
235-
uses: actions/checkout@v4
239+
uses: actions/checkout@v6
236240

237241
- name: Download all artifacts
238-
uses: actions/download-artifact@v4
242+
uses: actions/download-artifact@v8
239243
with:
240244
path: artifacts
241245
pattern: h5cpp-compiler-*

0 commit comments

Comments
 (0)