Skip to content

Commit 1b8f968

Browse files
committed
update workflow
1 parent 2795490 commit 1b8f968

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ jobs:
4545
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
4646

4747
- name: Deploy to Maven Central (signed)
48-
run: mvn -B clean deploy -Pcentral -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} -Dgpg.executable=gpg
48+
run: mvn -B clean deploy -Pcentral -Dgpg.executable=gpg
49+
env:
50+
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
4951

5052
- name: Build fat jar
5153
run: mvn -B clean package -Pall

0 commit comments

Comments
 (0)