Skip to content

Fix build workflow after setup-java v6 upgrade - #244

Merged
fslevoaca-ionos merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job
Sep 23, 2026
Merged

fslevoaca-ionos merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

The build GitHub Actions job started failing during Java setup after the workflow moved to actions/setup-java@v6. The workflow was still using the deprecated adopt distribution and a mismatched Java version value, so the job failed before Maven ran.

  • Build workflow

    • switch actions/setup-java to a supported distribution: temurin
    • align the configured Java version with the project/tooling expectation: JDK 17
  • Failure mode addressed

    • removes the unsupported adopt input that now causes setup-java to terminate the job immediately
    • eliminates the JDK step mismatch where the workflow claimed to set up Java 17 while requesting a Java 25 version string
- name: Set up JDK 17
  uses: actions/setup-java@v6
  with:
    java-version: '17'
    distribution: 'temurin'

Co-authored-by: fslevoaca-ionos <100419179+fslevoaca-ionos@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job build Fix build workflow after setup-java v6 upgrade Sep 23, 2026
@fslevoaca-ionos
fslevoaca-ionos marked this pull request as ready for review September 23, 2026 13:30
@fslevoaca-ionos
fslevoaca-ionos merged commit 30c1937 into main Sep 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants