Skip to content

Commit 84321a4

Browse files
Upgrade GitHub Actions to Node.js 24 (#2837)
This changelist upgrades pinned GitHub Actions to newer versions with Node.js 24 support, resolving deprecation warnings in all GitHub CI workflows.
1 parent ee85ced commit 84321a4

2 files changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/main.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133

134134
steps:
135135
- name: Sync Repository
136-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
136+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
137137
with:
138138
submodules: recursive
139139

@@ -183,7 +183,7 @@ jobs:
183183
184184
- name: Install Python ${{ matrix.python }}
185185
if: matrix.python != 'None'
186-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
186+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
187187
with:
188188
python-version: ${{ matrix.python }}
189189
architecture: ${{ matrix.architecture }}
@@ -325,48 +325,48 @@ jobs:
325325

326326
- name: Upload Installed Package
327327
if: matrix.python != 'None'
328-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
328+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
329329
with:
330330
name: MaterialX_${{ matrix.name }}
331331
path: build/installed/
332332

333333
- name: Upload Formatted Source
334334
if: matrix.clang_format == 'ON'
335-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
335+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
336336
with:
337337
name: MaterialX_ClangFormat
338338
path: source
339339

340340
- name: Upload Reference Shaders
341-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
341+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
342342
if: matrix.upload_shaders == 'ON'
343343
with:
344344
name: MaterialX_ReferenceShaders
345345
path: build/bin/reference/
346346

347347
- name: Upload Renders
348-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
348+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
349349
if: matrix.test_render == 'ON'
350350
with:
351351
name: Renders_${{ matrix.name }}
352352
path: build/render/*.png
353353

354354
- name: Upload Resources (MacOS)
355-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
355+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
356356
if: matrix.test_render == 'ON' && runner.os == 'macOS'
357357
with:
358358
name: Resources_${{ matrix.name }}
359359
path: build/bin/resources
360360

361361
- name: Upload Coverage Report
362-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
362+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
363363
if: matrix.coverage_analysis == 'ON'
364364
with:
365365
name: MaterialX_Coverage
366366
path: build/coverage
367367

368368
- name: Upload Perfetto Traces
369-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
369+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
370370
if: matrix.extended_build_perfetto == 'ON' && env.IS_EXTENDED_BUILD == 'true'
371371
with:
372372
name: Traces_${{ matrix.name }}
@@ -381,7 +381,7 @@ jobs:
381381

382382
steps:
383383
- name: Sync Repository
384-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
384+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
385385

386386
- name: Install Emscripten
387387
run: |
@@ -393,7 +393,7 @@ jobs:
393393
echo "EMSDK=$EMSDK" >> $GITHUB_ENV
394394
395395
- name: Install Node
396-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
396+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
397397
with:
398398
node-version: '22.16.0'
399399

@@ -418,14 +418,14 @@ jobs:
418418

419419
- name: Deploy Web Viewer
420420
if: github.event_name != 'pull_request'
421-
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
421+
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
422422
with:
423423
branch: gh-pages
424424
folder: javascript/MaterialXView/dist
425425
single-commit: true
426426

427427
- name: Upload JavaScript Package
428-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
428+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
429429
with:
430430
name: MaterialX_JavaScript
431431
path: javascript/build/installed/JavaScript/MaterialX
@@ -439,10 +439,10 @@ jobs:
439439

440440
steps:
441441
- name: Sync Repository
442-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
442+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
443443

444444
- name: Install Python
445-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
445+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
446446
with:
447447
python-version: 3.11
448448

@@ -454,7 +454,7 @@ jobs:
454454
echo "filename=$(ls dist)" >> "$GITHUB_OUTPUT"
455455
456456
- name: Upload SDist
457-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
457+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
458458
with:
459459
name: MaterialX_Python_SDist
460460
path: dist/*.tar.gz
@@ -472,15 +472,15 @@ jobs:
472472

473473
steps:
474474
- name: Sync Repository
475-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
475+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
476476

477477
- name: Install Python 3.${{ matrix.python-minor }}
478-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
478+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
479479
with:
480480
python-version: 3.${{ matrix.python-minor }}
481481

482482
- name: Download Sdist
483-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
483+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
484484
with:
485485
name: MaterialX_Python_SDist
486486
path: sdist
@@ -514,7 +514,7 @@ jobs:
514514
working-directory: python
515515

516516
- name: Upload Wheel
517-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
517+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
518518
with:
519519
name: MaterialX_Python_Wheel_${{ runner.os }}_3_${{ matrix.python-minor }}
520520
path: wheelhouse/*.whl

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Sync Repository
24-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2525
with:
2626
submodules: recursive
2727

0 commit comments

Comments
 (0)