Skip to content

Commit 20ecb62

Browse files
committed
Move release artifact steps off Node 20 actions
release.yml was the last workflow still pinning upload-artifact and download-artifact v4, which target the deprecated Node.js 20 runtime (#1588). GitHub forces them onto Node 24 for now; when Node 20 action support is removed, the release build and github-release jobs would break at publish time, and release is the one workflow no PR exercises. Pin the same releases every other workflow already uses: upload-artifact v6.0.0 (b7c566a) and download-artifact v7.0.0 (37930b1). The download step lists every artifact of the run with path + merge-multiple, which ci.yml already does with v7, and the by-artifact-ID path change in v5 doesn't apply. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011f9aeR1h6tkiHFXbvuNbrv
1 parent 7bde3ba commit 20ecb62

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,14 @@ jobs:
196196
197197
- name: Upload artifact (tar.gz)
198198
if: matrix.archive == 'tar.gz'
199-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
199+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
200200
with:
201201
name: socket-patch-${{ matrix.target }}
202202
path: socket-patch-${{ matrix.target }}.tar.gz
203203

204204
- name: Upload artifact (zip)
205205
if: matrix.archive == 'zip'
206-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
206+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
207207
with:
208208
name: socket-patch-${{ matrix.target }}
209209
path: socket-patch-${{ matrix.target }}.zip
@@ -251,7 +251,7 @@ jobs:
251251
sums-digest: ${{ steps.sums.outputs.digest }}
252252
steps:
253253
- name: Download all artifacts
254-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
254+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
255255
with:
256256
path: artifacts
257257
merge-multiple: true

0 commit comments

Comments
 (0)