Skip to content

Commit 44743b4

Browse files
committed
ci: bump actions to latest majors (Node 24)
The earlier v4->v5 bump didn't silence the Node 20 deprecation warnings: actions/upload-artifact@v5 and actions/download-artifact@v5 only have "preliminary" Node 24 support and still default to Node 20. The runtime default flips to Node 24 only at v6+. Move every action to its current latest major (all node24): actions/checkout v5 -> v6 actions/upload-artifact v5 -> v7 actions/download-artifact v5 -> v8 softprops/action-gh-release v2 -> v3 actions/setup-python v6 (already latest, node24) All inputs in use remain supported; artifacts stay zipped so upload v7 / download v8 (direct-upload/decompress changes) and download v8's default digest-mismatch=error don't affect this workflow.
1 parent 079d67e commit 44743b4

2 files changed

Lines changed: 10 additions & 10 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@v5
37+
uses: actions/checkout@v6
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@v5
75+
uses: actions/upload-artifact@v7
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@v5
86+
uses: actions/checkout@v6
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@v5
128+
uses: actions/upload-artifact@v7
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@v5
139+
uses: actions/checkout@v6
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@v5
161+
uses: actions/upload-artifact@v7
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@v5
171+
- uses: actions/checkout@v6
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@v5
192+
uses: actions/upload-artifact@v7
193193
with:
194194
name: python-windows-${{ env.PYTHON_VERSION }}
195195
path: windows/python-windows-for-dart-*.zip

.github/workflows/build-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ jobs:
4949
contents: write
5050
steps:
5151
- name: Download all build artifacts
52-
uses: actions/download-artifact@v5
52+
uses: actions/download-artifact@v8
5353
with:
5454
pattern: python-*
5555
path: release-artifacts
5656
merge-multiple: true
5757

5858
- name: Publish all artifacts to release
59-
uses: softprops/action-gh-release@v2
59+
uses: softprops/action-gh-release@v3
6060
with:
6161
tag_name: ${{ inputs.release_date }}
6262
name: ${{ inputs.release_date }}

0 commit comments

Comments
 (0)