adityamparikh opened a new pull request, #38:
URL: https://github.com/apache/solr-mcp/pull/38

   ## Summary
   - Create a reusable composite action (`.github/actions/setup-java`) to 
centralize Java version configuration
   - Update all workflows to use the composite action instead of inline 
setup-java steps
   - Eliminate duplicate `env:` variables and `chmod +x gradlew` steps across 
workflows
   
   ## Changes
   - **New file**: `.github/actions/setup-java/action.yml` - Composite action 
with Java 25 + Temurin + Gradle cache
   - **Updated workflows**:
     - `build-and-publish.yml`
     - `release-publish.yml`
     - `nightly-build.yml`
     - `atr-release.yml`
     - `atr-release-test.yml`
   
   ## Benefits
   - **Single-point updates**: To change Java version, modify only 
`.github/actions/setup-java/action.yml`
   - **Reduced duplication**: Eliminates repeated `JAVA_VERSION`, 
`JAVA_DISTRIBUTION` env vars
   - **Consistent setup**: All workflows now use identical Java configuration
   - **Cleaner workflows**: Removed redundant `chmod +x gradlew` steps (now in 
composite action)
   
   ## Test plan
   - [ ] Verify build-and-publish workflow runs successfully
   - [ ] Verify composite action properly sets up Java 25 with Temurin
   - [ ] Verify Gradle caching still works
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to