Description:
I'm facing an intermittent issue where the actions/setup-java@v4 step gets stuck at "Trying to resolve the latest version from remote" and never completes. The pipeline hangs indefinitely at this step. This happens sporadically - sometimes the workflow runs successfully, other times it gets stuck at this exact point.
Task version:
actions/setup-java@v4
Platform:
Runner type:
Repro steps:
- Configure a workflow using actions/setup-java@v4 with the following configuration:
- uses: actions/setup-java@v4with:
java-version: 17distribution: temurinjava-package: jdkcheck-latest: falseserver-id: githubserver-username: GITHUB_ACTORserver-password: GITHUB_TOKENoverwrite-settings: true
- Run the workflow multiple times
- Observe that sometimes the step completes normally, but other times it gets stuck at "Trying to resolve the latest version from remote" and never progresses
- The issue appears to be intermittent - same configuration works sometimes but fails other times
Expected behavior:
The setup-java action should consistently resolve the Java version and complete the setup process without hanging, regardless of when the workflow is executed. The step should either succeed or fail with a clear error message, not hang indefinitely.
Thanks
Description:
I'm facing an intermittent issue where the actions/setup-java@v4 step gets stuck at "Trying to resolve the latest version from remote" and never completes. The pipeline hangs indefinitely at this step. This happens sporadically - sometimes the workflow runs successfully, other times it gets stuck at this exact point.
Task version:
actions/setup-java@v4
Platform:
Runner type:
Repro steps:
Expected behavior:
The setup-java action should consistently resolve the Java version and complete the setup process without hanging, regardless of when the workflow is executed. The step should either succeed or fail with a clear error message, not hang indefinitely.
Thanks