tool-cache should accept URL for download
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 5.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice if the tool-cache would support giving download URLs as URL objects.
Currently you only get
The "url" argument must be of type string. Received type object
Waiting 11 seconds before trying again
The "url" argument must be of type string. Received type object
Waiting 12 seconds before trying again
##[error]The "url" argument must be of type string. Received type object
Besides that retry does not make much sense in this case.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the tool-cache download entry point and the code that validates the "url" argument. Check how URL objects are currently handled and where retries are triggered; done means URL objects are accepted for downloads and the type error does not cause pointless retries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100