Repository navigation
ci: fix Docs workflow and drop duplicate Gradle cache - #440
Merged
Merged
Conversation
gradle/actions/setup-gradle no longer supports the 'arguments' input, so since the v3 -> v6 bump in #413 every Docs run has failed before building and no Javadoc has been published. setup-gradle now only configures Gradle, and build and javadoc run as plain ./gradlew steps. Deployment to gh-pages is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The Tests workflow cached Gradle User Home twice: setup-java's cache: 'gradle' and setup-gradle. The setup-gradle docs advise against combining them because they interfere with each other. setup-gradle already caches dependencies and wrapper distributions. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
andrii-bodnar
approved these changes
Nov 16, 2026
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.
Fixes two CI problems that already exist on master. Neither is related to the Gradle 9 upgrade in #439.
Docs workflow
Every Docs run since 2026-09-24 has failed with:
#413 bumped
gradle/actions/setup-gradlefrom v3 to v6, and later versions removed theargumentsinput. Because of this, no Javadoc has been published since the 2026-09-07 release.setup-gradlenow only sets up Gradle, and the tasks run as explicit steps:./gradlew buildand./gradlew javadoc. Deployment togh-pagesfrombuild/docs/javadocis unchanged.Duplicate Gradle cache
The Tests workflow cached Gradle files twice: through
actions/setup-java(cache: 'gradle') and throughgradle/actions/setup-gradle. The setup-gradle docs advise against combining the two because they can interfere. This removes thesetup-javacache;setup-gradlealready caches dependencies and wrapper distributions.Testing
./gradlew buildand./gradlew javadoclocally on this branch's toolchain (Gradle 7.6.4, JDK 8). Both pass and the Javadoc site is generated.argumentsinputs and the duplicate cache on master and finds no problems on this branch.Merging with #439
Both PRs change the
setup-javablock inbasic.yml, so whichever merges second has a small conflict. To resolve it, keep #439'sjava-versionlist (8 and 17) and dropcache: 'gradle'.docs.ymlmerges without conflicts.🤖 Generated with Claude Code