-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Add gnu-tar #1534
Comments
We don't need to replace the default command with gnu-tar on each platform, but by installing it by default, we should be able to avoid quite a few problems just by setting the path without taking installation time when using it from any actions. |
Hello, actually, gnu-tar is already available on Windows images and is located on |
Hello again, @maxim-lobanov 🙂 I didn't notice that! Great. |
Is this issue actual for MacOS too? I didn't notice any reports about macOS. |
There may be some differences in flags between BSD tar and GNU tar, but that shouldn't be a big problem. Well, I don't use macOS, so I don't know. What do you think? @dhadka |
Considering the fact that tar is already installed on Windows, I am going to close this issue. |
|
@maxim-lobanov to work around actions/cache#403 without additional install time it would need to be installed for macOS by default as well. |
@anp thank you for additional info. Probably, if we pre-install gnu-tar, actions/cache can use it by default. I have requested additional information in issue |
…tead of BSD tar.
@maxim-lobanov multiple people have issues with tar on macOS that are solved by switching to gnu-tar: |
Thank you for everyone for sharing your feedback and requests. |
I haven't tested the compatibility between the two tars extensively but I would expect that setting the And this issue is rare enough that if we leave bsdtar as default, there will be issues about tar not working on macOS without any answer because people who know the answer don't read every issue of every repository that comes into contact with GitHub Actions. (But having it installed by default would already be an improvement at least for my action, so I can avoid using |
We have added gnu-tar installation to macOS. |
All changes were successfully deployed |
Tool information
tar --version | grep GNU
Area for Triage:
Packages
Question, Bug, or Feature?:
Feature
Virtual environments affected
Can this tool be installed during the build?
Sure.
Tool installation time in runtime
I don't know.
Are you willing to submit a PR?
Sure if I have time at that time.
The text was updated successfully, but these errors were encountered: