From d9aeaa516e565278a07a68aa2cca50219775f387 Mon Sep 17 00:00:00 2001 From: Matteo Merli Date: Fri, 2 Oct 2026 18:23:27 -0700 Subject: [PATCH] Upgrade actions/checkout and actions/setup-java to v5 actions/checkout@v4 and actions/setup-java@v4 target Node.js 20, which the runners now force onto Node.js 24 with a warning on every run, and setup-java v4 adds its own warning that it is deprecated and will get no more updates. The v5 releases of both run on Node.js 24. The inputs stay the same: none of the ones these workflows pass was renamed or removed in v5. setup-java v5 still writes the central and gpg.passphrase servers into settings.xml and imports the signing key into the default keyring, as the release profile's maven-gpg-plugin 1.6 and the "Show GPG key info" step expect. --- .github/workflows/ci-unit.yaml | 4 ++-- .github/workflows/publish.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-unit.yaml b/.github/workflows/ci-unit.yaml index b1954b9..c3a52ab 100644 --- a/.github/workflows/ci-unit.yaml +++ b/.github/workflows/ci-unit.yaml @@ -32,10 +32,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up JDK 17 - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: java-version: '17' distribution: temurin diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index c6781f0..02cda3a 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -17,10 +17,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up JDK 17 - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: java-version: '17' distribution: temurin