Skip to content

Implement retry (and logging) in windows-11-arm workaround #1656

Description

@taiki-e

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions