Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tool-cache has a deprecated dependency #29

Open
JJ opened this issue Apr 6, 2024 · 1 comment
Open

tool-cache has a deprecated dependency #29

JJ opened this issue Apr 6, 2024 · 1 comment

Comments

@JJ
Copy link
Contributor

JJ commented Apr 6, 2024

Captura desde 2024-04-06 11-40-52

It's used here

const tc = require("@actions/tool-cache");

But I think that essentially it ownly downloads the file, without actually using any kind of cacheish code. So could httpClient (which would need a combination with actions/io) or simply curl (which is installed in all runners) be used instead?

@atoomic
Copy link
Member

atoomic commented Apr 8, 2024

Using curl seems a good idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants