Enhance error logging for network failures to include endpoint/IP details, add retry mechanism and update workflows to use macos-15-intel by priya-kinthali · Pull Request #946 · actions/setup-java

Description:
This PR enhances error logging in setup-java to improve troubleshooting and clarity. It adds detailed logs for aggregate network errors, including specific information such as endpoints, ports, and stack traces, making it easier to diagnose and resolve issues effectively. Additionally, it implements a retry mechanism for transient network failures to improve reliability when encountering temporary connectivity issues. Updates workflows to replace usage of macos-13 with macos-15-intel, ensuring compatibility with newer macOS runner versions.

Related issue:
#897, #923

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.