From d9f6b5cff3adc28fbcb791d6ad860d8f15b38fb0 Mon Sep 17 00:00:00 2001 From: Taylor Becker Date: Wed, 22 Jul 2026 13:05:13 -0400 Subject: [PATCH] Fix: Bump outdated actions/checkout, upload-artifact, and download-artifact These were left on v4 during the earlier CI modernization pass instead of their true latest majors: checkout v4 -> v7, upload-artifact v4 -> v7, download-artifact v4 -> v8. Verified our fetch-depth/name/path/ retention-days/if-no-files-found usage is unaffected by the intervening breaking changes (Node 24 runtime bumps, upload-artifact v7's opt-in unzipped-upload mode we don't use, download-artifact v8's content-type check which is compatible with v7's default zipped uploads). --- .github/workflows/build-workflow.yml | 4 ++-- .github/workflows/publish-workflow.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-workflow.yml b/.github/workflows/build-workflow.yml index 658949b..ed6f50a 100644 --- a/.github/workflows/build-workflow.yml +++ b/.github/workflows/build-workflow.yml @@ -13,7 +13,7 @@ jobs: outputs: version: ${{ steps.version.outputs.version }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: fetch-depth: 0 - uses: gradle/actions/setup-gradle@v6 @@ -23,7 +23,7 @@ jobs: id: version run: echo "version=$(./gradlew --console plain --quiet currentVersion -Prelease.quiet)" >> $GITHUB_OUTPUT - name: Upload build - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: build path: build/libs/*.jar diff --git a/.github/workflows/publish-workflow.yml b/.github/workflows/publish-workflow.yml index a71aacf..e3c2a64 100644 --- a/.github/workflows/publish-workflow.yml +++ b/.github/workflows/publish-workflow.yml @@ -13,12 +13,12 @@ jobs: name: Create Release runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: fetch-depth: 0 - uses: gradle/actions/setup-gradle@v6 - name: Download build - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: build path: build