fix(ci): bump artifact actions to node24 runtimes - #1071
Conversation
actions/upload-artifact v4.6.2 and download-artifact v4 still run on Node.js 20, which GitHub Actions runners deprecate (runner forces these steps onto Node 24 with a warning). - action.yml: upload-artifact v4.6.2 -> v7.0.1 (SHA-pinned, node24). Inputs in use (name, path, if-no-files-found) are unchanged; the new 'archive' input defaults to true, so multi-file zipped upload behavior is preserved. - .github/workflows/release.yml: upload-artifact v4 -> v7 and download-artifact v4 -> v7 (node24); pattern/merge-multiple inputs unchanged. Note: artifact actions v6+ require Actions Runner >= 2.327.1, which GitHub-hosted runners already satisfy.
5cd7171 to
1ff4868
Compare
|
I think there is no need for change really. |
When used in GitHub Actions, a warning is triggered that may confuse users. In fact, this dependency is brought in by the OCR package itself and is not part of the user’s repository. Avoid using outdated versions and upgrade to the officially recommended version. |
@lwiles692 This reply looks like it is generated by AI. |
|
And also @lwiles692 , please check @Fanzzzd #856 and it's related itemd. I remember that it was kept as v4 intentionally. |
This is a real issue I encountered while using OCR in my own repository. At the time, I had some doubts, but after troubleshooting, the conclusion matched my description. Functionally, there is indeed no impact at the moment. If you don’t consider it a problem, feel free to close it.
|
|
You can safely ignore this warning, the issue it created is a minor. |

Description
GitHub Actions runners are deprecating Node.js 20: steps that still target
node20get force-run on Node 24 with a deprecation warning (see the changelog). Consumers of this action currently see:This bumps every
actions/upload-artifact/actions/download-artifactusage in the repo to the Node 24 runtimes:action.ymlupload-artifact@v4.6.2(SHA-pinned, node20)upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a(SHA-pinned,v7.0.1, node24).github/workflows/release.ymlupload-artifact@v4upload-artifact@v7.github/workflows/release.yml(×2)download-artifact@v4download-artifact@v7Compatibility notes:
name,path,if-no-files-found;pattern,merge-multiple) exist unchanged in v7.archiveinput that defaults totrue, so the existing multi-file zipped upload behavior is preserved.Type of Change
How Has This Been Tested?
make testpasses locallyVerified against
actions/upload-artifactandactions/download-artifactrelease notes /action.ymlthat the pinned v7.0.1 runs onnode24and that every input used here is present with the same semantics. Pure workflow/action version bumps — no source code touched.Checklist
go fmt,go vet)Related Issues
None — preemptive cleanup driven by the runner-side Node 20 deprecation warning.