Skip to content

Commit b224011

Browse files
author
Vignesh Kennadi
committed
adds gpg passphrase in secret
1 parent 516515d commit b224011

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
server-id: ossrh
2525
server-username: MAVEN_USERNAME
2626
server-password: MAVEN_PASSWORD
27+
gpg-passphrase: GPG_PASSPHRASE
2728

2829
- name: Import GPG Key
2930
run: |
@@ -34,8 +35,9 @@ jobs:
3435
- name: Publish to Maven
3536
run: |
3637
export GPG_TTY=$(tty)
37-
mvn clean deploy -DskipTests=true -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
38+
mvn clean deploy -DskipTests=true
3839
env:
3940
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
4041
MAVEN_PASSWORD: ${{ secrets.MAVEN_TOKEN }}
42+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
4143
working-directory: Xero-Java

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>xero-java</artifactId>
66
<packaging>jar</packaging>
77
<name>xero-java</name>
8-
<version>8.3.0-alpha.3</version>
8+
<version>8.3.0-alpha.4</version>
99
<url>https://github.com/XeroAPI/Xero-Java</url>
1010
<description>This is the official Java SDK for Xero API</description>
1111
<licenses>

0 commit comments

Comments
 (0)