-
Notifications
You must be signed in to change notification settings - Fork 23
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
Use Windows system tar
(not the Git Bash tar
)
#206
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a test for this?
One where we delete/rename the system tar? |
Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
Users may have custom self-hosted Windows runners. In those cases, currently users can specify which tar is used by manually adding it to the front of the PATH before However, after this PR, the user cannot control which tar is used. Could we add an escape hatch? Maybe an action input that allows the user to specify the desired tar? And then if the user doesn't specify that action input, we fall back to this hardcoded |
This could definitely be a solution to avoid the issue from #305 - though I still think defaulting to
Selecting the right tar could be a good escape hatch - it could also be through an environment variable maybe, which is less user-facing maybe. Are custom self-hosted Windows runners using a different For the new context, I found the real why about #205 (detailed in #207 (comment)) The real problem was that another action was changing the PATH internally tweaking Currently, Line 271 in a1561e9
So to be safer there could be two solutions at least :
Thanks a lot. |
I unfortunately don't think that we'll be able to guarantee (in this action) that the same drive is used. I think we need to default to the Windows system tar. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer #250 instead.
Alternatively, we could go with this PR for now, and then add an escape hatch later. |
tar
(not the Git Bash tar
)
tar
(not the Git Bash tar
)tar
(not the Git Bash tar
)
Ugh, just because I added a comment, we now need to re-run I will do that in a little bit, unless someone beats me to it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm good to proceed with this
macos-11 failures are because of a GitHub brownout. See also #251 |
I will make a new tag and release. |
Okay, CI is all green on the Branch: https://github.com/julia-actions/setup-julia/tree/releases/v2.1.0 Commit: 81d42b5 |
Fixes #205