From 04844b3c83b33d5659167c79361abd46ba9bddae Mon Sep 17 00:00:00 2001 From: Aaron Wirick Date: Tue, 3 Nov 2026 17:01:59 -0800 Subject: [PATCH] Publish from main on the current cache service Changes: - Moved the deploy job to actions/checkout@v4 and actions/setup-java@v4 (setup-java@v2's cache call returns 400) - Granted the deploy job packages: write (workflow default is contents: read) Co-Authored-By: Claude Opus 5.5 --- .github/workflows/maven-build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 9520fede63..4aef446c0c 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -109,9 +109,12 @@ jobs: runs-on: ubuntu-latest needs: [build, test-8, test] if: github.event_name == 'push' && github.ref == 'refs/heads/main' + permissions: + contents: read + packages: write steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: java-version: 8 distribution: 'zulu'