-
Notifications
You must be signed in to change notification settings - Fork 795
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted (Current runner version: '2.325.0')
Repro steps:
- Configure a workflow using actions/setup-java@v4 with the following configuration:
- uses: actions/setup-java@v4 with: java-version: 17 distribution: temurin java-package: jdk check-latest: false server-id: github server-username: GITHUB_ACTOR server-password: GITHUB_TOKEN overwrite-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
adrianosabino-hotmart, marcosabreu-hotmart, gustavoquintao-hotmart, lalith93kumar, Csmolina and 18 morejamescjchan, domariscampos-hotmart and romualdoag
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working