This workaround was added in version #1647, but is still insufficient (#1647 (comment)).
|
# TODO: Is it necessary to retry for main.sh call? Or is this sufficient? https://github.com/taiki-e/install-action/pull/1647 |
The issue appears to be bash sometimes failing to start either due to how GHA launches bash or regardless of who to launch bash.
In the former case, just calling bash from powershell should be sufficient (as currently implemented in this PR); in the latter case, I think it would be sufficient to add a way to detect whether bash failed to start (such as creating and checking a temporary file) and then retry a few times.
This workaround was added in version #1647, but is still insufficient (#1647 (comment)).
install-action/action.yml
Line 56 in 0cccd59