From a9c3a9565027162721cc1e7bed0eaa38a742691f Mon Sep 17 00:00:00 2001 From: Jonas Konrad Date: Fri, 25 Sep 2026 17:28:15 +0200 Subject: [PATCH] Don't restore the Maven cache in the release workflow Remove cache: maven from every setup-java step in build-all-and-publish.yml so the native builds and the credentialed publish step always resolve dependencies fresh from Maven Central rather than from a cache entry shared with other workflows on the same ref. test.yml and docs.yml keep their caches. Fixes #110 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/build-all-and-publish.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/build-all-and-publish.yml b/.github/workflows/build-all-and-publish.yml index 1ea603bd..afefd00a 100644 --- a/.github/workflows/build-all-and-publish.yml +++ b/.github/workflows/build-all-and-publish.yml @@ -71,7 +71,6 @@ jobs: with: distribution: temurin java-version: '25' - cache: maven - name: Install cross toolchain (if needed) if: ${{ matrix.apt != '' }} @@ -129,7 +128,6 @@ jobs: with: distribution: temurin java-version: '25' - cache: maven - name: Build (native binary build only) if: ${{ !matrix.fullbuild }} @@ -174,7 +172,6 @@ jobs: with: distribution: temurin java-version: '25' - cache: maven # See LZ4FrameIOStreamTest - name: Download LZ4 CLI for tests @@ -229,7 +226,6 @@ jobs: with: distribution: temurin java-version: '25' - cache: maven gpg-private-key: ${{ secrets.GPG_KEY }} gpg-passphrase: GPG_PASSWORD server-id: 'central' @@ -242,7 +238,6 @@ jobs: with: distribution: temurin java-version: '25' - cache: maven - name: Download natives uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8