Skip to content
New issue

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

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

Already on GitHub? # to your account

Add support to extract release archives #612

Closed
hegerdes opened this issue Mar 15, 2023 · 2 comments
Closed

Add support to extract release archives #612

hegerdes opened this issue Mar 15, 2023 · 2 comments

Comments

@hegerdes
Copy link
Contributor

Problem:
Many GH Release publish multiple assets. Most of the time these assets are not directly usable because they are packages in an archive. A good example is the prometheus repo where every asset is a tar.gz or zip archive.

To use the executables in the archive users must use or even install additional platform dependent tools to extract these. In GH Action this is a substantial overhad with at least one additional step in each workflow.

Solution:
I would like the option to automatically extract all archives while using this action. This action is based on NodeJS and has the power to extract files without handling platform specific requirements.

The alternative would be to use at least one or more additional steps to setup tar, gzip or a windows alternative for zip to extract files.

I will provide a reference implementation as soon as possible

@pelkiegr
Copy link

pelkiegr commented May 3, 2023

@robinraju it looks like this was fixed and merged but I don't believe the documentation is currently incorrect since it doesn't exist in release 1.7
https://github.com/robinraju/release-downloader#download-and-extracts-archives

Any chance we could get a release with this functionality?

@robinraju
Copy link
Owner

@pelkiegr just released a new version https://github.com/robinraju/release-downloader/releases/tag/v1.8

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

No branches or pull requests

3 participants