From 896455710baeef514544c66bcc824273399fb2bd Mon Sep 17 00:00:00 2001 From: Mario Serrano Date: Mon, 12 Oct 2026 12:20:43 -0500 Subject: [PATCH 1/2] ci: bump GitHub Actions to Node 24 versions checkout v7, setup-java v6, setup-node v7, pnpm/action-setup v6. Silences the Node.js 20 deprecation warnings. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/maven.yml | 4 ++-- .github/workflows/publish-npm.yml | 6 +++--- .github/workflows/publish-snapshot.yml | 4 ++-- .github/workflows/release.yml | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c676ffcb0..6df7f285b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -23,9 +23,9 @@ jobs: timeout-minutes: 30 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up JDK 25 - uses: actions/setup-java@v4 + uses: actions/setup-java@v6 with: java-version: 25 architecture: x64 diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 7d22c66f5..f14d3ec14 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -16,15 +16,15 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v6 with: run_install: false - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '24' registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 2bff8bd6f..860283fd4 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -28,9 +28,9 @@ jobs: timeout-minutes: 30 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up JDK 25 - uses: actions/setup-java@v4 + uses: actions/setup-java@v6 with: java-version: 25 architecture: x64 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cacb3f5ed..bf9526fe3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,9 +37,9 @@ jobs: timeout-minutes: 45 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up JDK 25 - uses: actions/setup-java@v4 + uses: actions/setup-java@v6 with: java-version: 25 architecture: x64 @@ -86,9 +86,9 @@ jobs: timeout-minutes: 45 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up JDK 25 - uses: actions/setup-java@v4 + uses: actions/setup-java@v6 with: java-version: 25 architecture: x64 From ebd0d95dead3da8e34334cdafb55d5986d5ad10a Mon Sep 17 00:00:00 2001 From: Mario Serrano Date: Mon, 12 Oct 2026 12:28:48 -0500 Subject: [PATCH 2/2] ci: use setup-java server-*-env-var inputs The server-username/server-password inputs are deprecated in setup-java v6. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/publish-snapshot.yml | 4 ++-- .github/workflows/release.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 860283fd4..8a564c360 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -37,8 +37,8 @@ jobs: distribution: temurin cache: maven server-id: github - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD + server-username-env-var: MAVEN_USERNAME + server-password-env-var: MAVEN_PASSWORD - name: Verify and deploy SNAPSHOT # Se invoca deploy:deploy directo porque central-publishing-maven-plugin (extensions=true) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bf9526fe3..6737a1fc4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,8 +46,8 @@ jobs: distribution: temurin cache: maven server-id: github - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD + server-username-env-var: MAVEN_USERNAME + server-password-env-var: MAVEN_PASSWORD - name: Check the version # A wrong version would publish an immutable artifact (and spend Central quota), so fail before building. @@ -95,8 +95,8 @@ jobs: distribution: temurin cache: maven server-id: central - server-username: MAVEN_USERNAME # env variable for username in deploy - server-password: MAVEN_PASSWORD # env variable for token in deploy + server-username-env-var: MAVEN_USERNAME # env variable for username in deploy + server-password-env-var: MAVEN_PASSWORD # env variable for token in deploy gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} - name: Sign and deploy to Maven Central