Skip to content

Commit 7f05a4e

Browse files
GH-257 aligning this with maven-snapshot workflow
1 parent ee808d5 commit 7f05a4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/maven-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
steps:
3333
# Check out Git repository
3434
- name: Checkout code
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v6
3636

3737
# Set up environment with Java and Maven
3838
- name: Set up JDK
@@ -194,6 +194,7 @@ jobs:
194194
distribution: 'temurin'
195195
java-version: 11
196196
cache: maven
197+
server-id: central
197198
server-username: MAVEN_USERNAME
198199
server-password: MAVEN_CENTRAL_TOKEN
199200
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}

0 commit comments

Comments
 (0)