From e299a1a7487fb7bb436d0a108a048be6ed60e8dc Mon Sep 17 00:00:00 2001 From: Kateryna Oblakevych Date: Sun, 15 Nov 2026 12:50:50 -0800 Subject: [PATCH 1/2] ci: run Docs workflow Gradle tasks with explicit run steps 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) --- .github/workflows/docs.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index dbcf4abec..092f7914a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,15 +19,14 @@ jobs: java-version: '8' distribution: 'temurin' - - name: Build with Gradle + - name: Setup Gradle uses: gradle/actions/setup-gradle@v6 - with: - arguments: build + + - name: Build with Gradle + run: ./gradlew build - name: Generate javadoc with Gradle - uses: gradle/actions/setup-gradle@v6 - with: - arguments: javadoc + run: ./gradlew javadoc - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4 From 9a23f7eb8b372d01cce6191fcd1ff2cc138c7bef Mon Sep 17 00:00:00 2001 From: Kateryna Oblakevych Date: Sun, 15 Nov 2026 12:50:51 -0800 Subject: [PATCH 2/2] ci: drop setup-java Gradle cache in favour of setup-gradle 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) --- .github/workflows/basic.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index d10610587..ec129f3bb 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -23,7 +23,6 @@ jobs: with: distribution: temurin java-version: 8 - cache: 'gradle' - name: Setup Gradle uses: gradle/actions/setup-gradle@v6