Skip to content

Commit b755ec7

Browse files
hchokshimeta-codesync[bot]
authored andcommitted
Update Github actions checkout and upload-artifact to v6 for Node 24 compatibility
Summary: Upgrade GitHub Actions to their latest versions to ensure compatibility with Node 24, as Node 20 EOL is April 2026. | Action | Old Version(s) | New Version | |--------|---------------|-------------| | `actions/checkout` | [`v4`](https://github.com/actions/checkout/releases/tag/v4) | [`v6`](https://github.com/actions/checkout/releases/tag/v6) | | `actions/upload-artifact` | [`v4`](https://github.com/actions/upload-artifact/releases/tag/v4) | [`v6`](https://github.com/actions/upload-artifact/releases/tag/v6) | [GitHub announced](https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/) that Node 20 is being deprecated and runners will begin using Node 24 by default starting 2026-03-04. **Node 20 EOL**: April 2026 **Node 24 becomes default on Github Actions**: 2026-03-04 Reviewed By: bigfootjon Differential Revision: D89332222 fbshipit-source-id: b8793f6a7a2aaac6f93cd8419e9afa49c5489bee
1 parent 601c329 commit b755ec7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/fbcode_builder/getdeps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ def write_job_for_platform(self, platform, args): # noqa: C901
11741174
# && is not supported on default windows powershell, so use cmd
11751175
out.write(" shell: cmd\n")
11761176

1177-
out.write(" - uses: actions/checkout@v4\n")
1177+
out.write(" - uses: actions/checkout@v6\n")
11781178

11791179
build_type_arg = ""
11801180
if override_build_type:
@@ -1365,7 +1365,7 @@ def write_job_for_platform(self, platform, args): # noqa: C901
13651365
f"--final-install-prefix /usr/local\n"
13661366
)
13671367

1368-
out.write(" - uses: actions/upload-artifact@v4\n")
1368+
out.write(" - uses: actions/upload-artifact@v6\n")
13691369
out.write(" with:\n")
13701370
out.write(" name: %s\n" % manifest.name)
13711371
out.write(" path: _artifacts\n")

0 commit comments

Comments
 (0)