Skip to content

Commit 76ac50f

Browse files
authored
Update maven-publish.yml
1 parent 9ec858a commit 76ac50f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ jobs:
1515
- uses: actions/checkout@v4
1616
- name: Set up JDK 11
1717
uses: actions/setup-java@v4
18+
env:
19+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
1820
with:
1921
java-version: '11'
2022
distribution: 'temurin'
2123
server-id: central
2224
server-username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
2325
server-password: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
2426
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}
25-
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
2627

2728
- name: Build and Test
2829
run: mvn clean package -Dmaven.javadoc.skip=false

0 commit comments

Comments
 (0)