Skip to content

Commit 079d67e

Browse files
committed
ci: bump actions/{checkout,upload-artifact,download-artifact} v4 -> v5
The previous releases bundled Node.js 20 runtimes; GitHub deprecated Node 20 in actions on 2026-06-16 with full removal on 2026-09-16, and the workflow now emits a "Node.js 20 actions are deprecated" warning on every matrix entry. v5 ships on Node 24 across all three actions and is otherwise drop-in compatible with our usage. setup-python is already on v6 (Node 24 native). softprops/action-gh- release@v2 still runs on Node 20 — leaving it pending an upstream v3 since it only fires on the new workflow_dispatch publish path and won't add warning noise to push-driven runs.
1 parent 93462d0 commit 079d67e

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build-python-version.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: macos-26
3535
steps:
3636
- name: Checkout
37-
uses: actions/checkout@v4
37+
uses: actions/checkout@v5
3838

3939
- name: Derive short Python version
4040
shell: bash
@@ -72,7 +72,7 @@ jobs:
7272
bash ./package-macos-for-dart.sh . "$PYTHON_VERSION"
7373
7474
- name: Upload Darwin build artifacts
75-
uses: actions/upload-artifact@v4
75+
uses: actions/upload-artifact@v5
7676
with:
7777
name: python-darwin-${{ env.PYTHON_VERSION }}
7878
path: darwin/dist/python-*.tar.gz
@@ -83,7 +83,7 @@ jobs:
8383
runs-on: ubuntu-latest
8484
steps:
8585
- name: Checkout
86-
uses: actions/checkout@v4
86+
uses: actions/checkout@v5
8787

8888
- name: Derive short Python version
8989
shell: bash
@@ -125,7 +125,7 @@ jobs:
125125
run: python3 -m unittest discover -s android/tests -t android/tests -v
126126

127127
- name: Upload build artifacts
128-
uses: actions/upload-artifact@v4
128+
uses: actions/upload-artifact@v5
129129
with:
130130
name: python-android-${{ env.PYTHON_VERSION }}
131131
path: android/dist/python-android-*.tar.gz
@@ -136,7 +136,7 @@ jobs:
136136
runs-on: ubuntu-latest
137137
steps:
138138
- name: Checkout
139-
uses: actions/checkout@v4
139+
uses: actions/checkout@v5
140140

141141
- name: Derive short Python version
142142
shell: bash
@@ -158,7 +158,7 @@ jobs:
158158
bash ./package-for-linux.sh aarch64 ""
159159
160160
- name: Upload build artifacts
161-
uses: actions/upload-artifact@v4
161+
uses: actions/upload-artifact@v5
162162
with:
163163
name: python-linux-${{ env.PYTHON_VERSION }}
164164
path: linux/python-linux-dart-*.tar.gz
@@ -168,7 +168,7 @@ jobs:
168168
name: Build Python for Windows
169169
runs-on: windows-2022
170170
steps:
171-
- uses: actions/checkout@v4
171+
- uses: actions/checkout@v5
172172

173173
- name: Derive short Python version
174174
shell: pwsh
@@ -189,7 +189,7 @@ jobs:
189189
-PythonVersionShort "${{ env.PYTHON_VERSION_SHORT }}"
190190
191191
- name: Upload build artifacts
192-
uses: actions/upload-artifact@v4
192+
uses: actions/upload-artifact@v5
193193
with:
194194
name: python-windows-${{ env.PYTHON_VERSION }}
195195
path: windows/python-windows-for-dart-*.zip

.github/workflows/build-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
contents: write
5050
steps:
5151
- name: Download all build artifacts
52-
uses: actions/download-artifact@v4
52+
uses: actions/download-artifact@v5
5353
with:
5454
pattern: python-*
5555
path: release-artifacts

0 commit comments

Comments
 (0)