Skip to content

Commit d2bc4eb

Browse files
author
Vignesh Kennadi
committed
corrected review comments
1 parent f3bfe77 commit d2bc4eb

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Publish
22
on:
3+
push:
34
release:
45
types: [published]
56

@@ -20,26 +21,16 @@ jobs:
2021
distribution: 'temurin'
2122
java-version: '11'
2223
cache: maven
24+
server-id: ossrh
25+
server-username: ${{ secrets.MAVEN_USERNAME }}
26+
server-password: ${{ secrets.MAVEN_TOKEN }}
2327

2428
- name: Import GPG Key
2529
run: |
2630
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
2731
env:
2832
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY}}
2933

30-
- name: Configure Maven settings
31-
run: |
32-
mkdir -p ~/.m2
33-
echo "<settings>
34-
<servers>
35-
<server>
36-
<id>ossrh</id>
37-
<username>${{ secrets.MAVEN_USERNAME }}</username>
38-
<password>${{ secrets.MAVEN_TOKEN }}</password>
39-
</server>
40-
</servers>
41-
</settings>" > ~/.m2/settings.xml
42-
4334
- name: Publish to Maven
4435
run: |
4536
export GPG_TTY=$(tty)

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</version>
8+
<version>8.3.0-alpha.3</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)