Skip to content

ci(release): drop setup-gradle from the publish job - #53

Merged
serialexperimentslainnnn merged 2 commits into
mainfrom
develop
Aug 10, 2026
Merged

serialexperimentslainnnn merged 2 commits into
mainfrom
develop

Conversation

@serialexperimentslainnnn

Copy link
Copy Markdown
Owner

Carries the CI-only change to main so the next release runs the corrected release.yml.

What

Removes the last gradle/actions/setup-gradle in any workflow — release.yml's publish job. It carried cache-read-only: true, and after ci.yml dropped its own copies nothing writes that cache, so the step restored an entry no job produces. Same reason ci.yml recorded: a warm GRADLE_USER_HOME here is ~31 GB against a 10 GB per-repository cache ceiling.

actions/setup-java stays — this job does not run in the CI container, so it is what provides the JDK.

No publication results from this merge

release.yml fires on this push, but guard will see v5.1.1 already on the remote for the version in build.gradle.kts and correctly decide it is already released, so the publish job does not run. This merge only positions the corrected workflow for the next release.

No plugin code, tests or resources are touched: one file, .github/workflows/release.yml.

🤖 Generated with Claude Code

It was the last one left in any workflow, and it restored a cache nothing
writes: ci.yml removed its own copies, and this one carried
cache-read-only: true. The reason ci.yml gave applies here too -- a warm
GRADLE_USER_HOME for this project is ~31 GB against a 10 GB per-repository
cache ceiling, so the action could never store what it appeared to store.

Nothing else is lost: the job runs ./gradlew --no-daemon, which needs no
setup from the action, and setup-java still provides the JDK since this job
does not run in the CI container. The cost, paid knowingly, is a cold
download of the IntelliJ platform artifacts on every release -- a few
minutes, a few times a month, against a cache that was not working.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…tup-gradle

ci(release): drop setup-gradle from the publish job
@serialexperimentslainnnn
serialexperimentslainnnn merged commit f2948d4 into main Aug 10, 2026
12 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.

1 participant