Decompress based on `content-encoding` in `downloadTool`
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
Describe the enhancement
downloadTool from @actions/tool-cache should automatically decompress the file based on content-encoding header returned by the server.
Additional information
MDN: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding
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 at the downloadTool entry point in @actions/tool-cache and review how the server response and its content-encoding header are handled. The work is done when supported content encodings are automatically decompressed according to the response header, with behavior checked against the existing downloadTool tests if available.
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