Use Windows system tar (not the Git Bash tar)#206
Conversation
omus
left a comment
There was a problem hiding this comment.
Can we add a test for this?
|
One where we delete/rename the system tar? |
Co-authored-by: Dilum Aluthge <[email protected]>
|
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. |
DilumAluthge
left a comment
There was a problem hiding this comment.
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. |
omus
left a comment
There was a problem hiding this comment.
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 Commit: 81d42b5 |
|
I've pushed the new tags. |
Fixes #205