Skip to content

[Java] fix broken publish layers step - #532

Merged
sharvath-newrelic merged 5 commits into
masterfrom
add-support-for-java-25
Aug 5, 2026
Merged

[Java] fix broken publish layers step #532
sharvath-newrelic merged 5 commits into
masterfrom
add-support-for-java-25

Conversation

@sharvath-newrelic

@sharvath-newrelic sharvath-newrelic commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

The "Publish staging layers (java25)" step in publish-java.yml is failing in CI.

publish-staging-java25 rebuilt the layer a second time via build-java25-arm64/build-java25-x86, which run ./gradlew packageLayer directly on the GitHub Actions runner. That path uses the repo's checked-in, unpatched Gradle wrapper (8.6), because the wrapper patch to Gradle 9.1.0 (needed for JDK 25 support) only exists inside Dockerfile.java25's build context. publish-staging-java25 now checks that the artifacts built by the prior step already exist and publishes them directly instead of rebuilding.

@sharvath-newrelic sharvath-newrelic changed the title Fix broken staging step [Java] fix broken publish layers step Aug 4, 2026
@sharvath-newrelic
sharvath-newrelic marked this pull request as ready for review August 4, 2026 21:30
@sharvath-newrelic
sharvath-newrelic merged commit c1a5f87 into master Aug 5, 2026
10 checks 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.

3 participants