You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi
running on self-hosted runners actions/download-artifact@v4 i get this error Starting download of artifact to: /xxxx/xxxx
(node:137) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use node --trace-deprecation ... to show where the warning was created)
iv checked the actions/upload-artifact@v4 action which does not have this error and seems actions/github node package needs to be upgraded to 6.x.x.
marchesir
changed the title
[bug]
[bug] [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues....
Feb 28, 2025
marchesir
changed the title
[bug] [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues....
[bug] node DeprecationWarning: Buffer() is deprecated due to security and usability issues....
Feb 28, 2025
@brainstorm yes its been happening for sometime now, it happens on every call to the download action as far as i can see. it just needs actions/github to be bumped upto v6.x.x. like the upload action has,
What happened?
hi
running on self-hosted runners actions/download-artifact@v4 i get this error
Starting download of artifact to: /xxxx/xxxx
(node:137) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use
node --trace-deprecation ...
to show where the warning was created)iv checked the actions/upload-artifact@v4 action which does not have this error and seems actions/github node package needs to be upgraded to 6.x.x.
https://github.com/actions/upload-artifact/blob/main/package.json#L34 has 6..0.0 and https://github.com/actions/download-artifact/blob/main/package.json#L33 has 5.1.1.
reference of simular issue: actions/toolkit#1618
regards
What did you expect to happen?
no DeprecationWarning: Buffer() error or simular, action should run smoothly
How can we reproduce it?
any usage of actions/download-artifact@v4
Anything else we need to know?
be happy to raise pr if it helps
What version of the action are you using?
4 (latest)
What are your runner environments?
linux, self-hosted
Are you on GitHub Enterprise Server? If so, what version?
GHEC
The text was updated successfully, but these errors were encountered: