Skip to content

Commit 38baf82

Browse files
committed
Try to fix build pipeline
1 parent a395e37 commit 38baf82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ jobs:
1919
java-version: '17'
2020
distribution: 'temurin'
2121
cache: maven
22+
server-id: central
2223
server-username: MAVEN_USERNAME
2324
server-password: MAVEN_PASSWORD
2425
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
25-
env:
26-
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
2726

2827
- name: Publish snapshot
2928
run: mvn -B deploy --file pom.xml
3029
env:
3130
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
3231
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
32+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
3333

3434
# Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
3535
- name: Update dependency graph

0 commit comments

Comments
 (0)