Update GitHub Actions JDK setup to use Java 21 with Temurin distribution - #41
Merged
ShantanuKumarSinha merged 3 commits intoAug 24, 2025
Conversation
ShantanuKumarSinha
marked this pull request as ready for review
August 24, 2025 10:16
ShantanuKumarSinha
marked this pull request as draft
August 24, 2025 10:18
Co-authored-by: ShantanuKumarSinha <53042260+ShantanuKumarSinha@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] - name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin' # Specify a valid distribution
java-version: '17'
Update GitHub Actions JDK setup to use Java 17 with Temurin distribution
Aug 24, 2025
|
ShantanuKumarSinha
requested changes
Aug 24, 2025
ShantanuKumarSinha
self-requested a review
August 24, 2025 10:26
ShantanuKumarSinha
marked this pull request as ready for review
August 24, 2025 10:26
ShantanuKumarSinha
approved these changes
Aug 24, 2025
ShantanuKumarSinha
merged commit Aug 24, 2025
1a11199
into
chore/project-issue-template
2 checks passed
Qodana Community for JVM5 new problems were found
View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2025.2.1
with:
upload-result: trueContact Qodana teamContact us at qodana-support@jetbrains.com
|
ShantanuKumarSinha
added a commit
that referenced
this pull request
Aug 25, 2025
* Update issue templates * Update GitHub Actions JDK setup to use Java 21 with Temurin distribution (#41) * Initial plan * Update GitHub Actions JDK setup to use Java 21 with Temurin distribution Co-authored-by: ShantanuKumarSinha <53042260+ShantanuKumarSinha@users.noreply.github.com> * Upgrade Java setup action and version to 21 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ShantanuKumarSinha <53042260+ShantanuKumarSinha@users.noreply.github.com> * (chore/project-issue-template): fix loggerInterceptor start and end time variable decalaration * (chore/project-issue-template): fix loggerInterceptor start time and end time issue * (chore/project-issue-template): test case commented --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
ShantanuKumarSinha
deleted the
copilot/fix-5f55b4a6-56bc-42dc-bd8f-8646e20744f1
branch
September 7, 2025 14:17
ShantanuKumarSinha
restored the
copilot/fix-5f55b4a6-56bc-42dc-bd8f-8646e20744f1
branch
September 7, 2025 14:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Updates the GitHub Actions workflow configuration to use the recommended JDK setup pattern with proper distribution specification.
Changes Made
The
.github/workflows/maven.ymlfile has been updated to:actions/setup-java@v3instead of@v4for consistency with standard practices17instead of21to align with Spring Boot 3.x minimum requirementstemurindistribution instead of empty string to ensure consistent OpenJDK buildsBefore
After
This change ensures the GitHub Actions workflow uses a well-defined, reproducible Java environment that matches the project's requirements and follows GitHub Actions best practices for Java setup.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.