Skip to content

Commit ff70c60

Browse files
pdepetrometa-codesync[bot]
authored andcommitted
Bump GitHub Actions to v5 (Node.js 24) in release workflow
Summary: Upgrades `actions/checkout`, `actions/upload-artifact`, and `actions/download-artifact` from v4 to v5 in the release workflow. GitHub is deprecating Node.js 20 on their runners on the following timeline: - 2026-06-02: Node.js 24 becomes the default; v4 actions are force-upgraded. - 2026-09-16: Node.js 20 is fully removed from runners; v4 breaks hard unless the action supports Node.js 24 natively. The v5 majors of these three actions run on Node.js 24 natively, so bumping now gets us ahead of the June 2 flip and avoids any surprise behaviour changes mid-release. Compatibility notes: - `actions/checkout@v5` with `submodules: recursive` is drop-in compatible with v4 for our usage. - `actions/upload-artifact@v5` keeps the v4 API (name + path) we rely on. - `actions/download-artifact@v5` keeps `pattern: cibw-*` + `merge-multiple: true` behaviour unchanged. This exact pattern is in use across fbsource (e.g., `third-party/pypi/pyvinecopulib/*/pypi.yml`) on v5 already. Reviewed By: aperez Differential Revision: D103490665 fbshipit-source-id: 6c0137a5aca0390e33d99a8ae979f6a11452eb8a
1 parent e0a9c76 commit ff70c60

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
os: [ubuntu-latest, macos-latest]
5050

5151
steps:
52-
- uses: actions/checkout@v4
52+
- uses: actions/checkout@v5
5353
with:
5454
submodules: recursive
5555

@@ -91,7 +91,7 @@ jobs:
9191
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.0
9292

9393
- name: Upload wheels artifact
94-
uses: actions/upload-artifact@v4
94+
uses: actions/upload-artifact@v5
9595
with:
9696
name: cibw-wheels-${{ matrix.os }}
9797
path: ./wheelhouse/*.whl
@@ -102,15 +102,15 @@ jobs:
102102
timeout-minutes: 15
103103

104104
steps:
105-
- uses: actions/checkout@v4
105+
- uses: actions/checkout@v5
106106
with:
107107
submodules: recursive
108108

109109
- name: Build sdist
110110
run: pipx run build --sdist
111111

112112
- name: Upload sdist artifact
113-
uses: actions/upload-artifact@v4
113+
uses: actions/upload-artifact@v5
114114
with:
115115
name: cibw-sdist
116116
path: dist/*.tar.gz
@@ -127,7 +127,7 @@ jobs:
127127

128128
steps:
129129
- name: Download all artifacts
130-
uses: actions/download-artifact@v4
130+
uses: actions/download-artifact@v5
131131
with:
132132
pattern: cibw-*
133133
path: dist
@@ -151,7 +151,7 @@ jobs:
151151

152152
steps:
153153
- name: Download all artifacts
154-
uses: actions/download-artifact@v4
154+
uses: actions/download-artifact@v5
155155
with:
156156
pattern: cibw-*
157157
path: dist

0 commit comments

Comments
 (0)