Skip to content

Commit ac51fdc

Browse files
v1.2.0-SNAPSHOT
1 parent 67f0869 commit ac51fdc

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@ jobs:
1111
- name: Set up Maven Central Repository
1212
uses: actions/setup-java@v3
1313
with:
14-
java-version: '8'
14+
java-version: '11'
1515
distribution: 'adopt'
1616
server-id: ossrh
1717
server-username: MAVEN_USERNAME
1818
server-password: MAVEN_PASSWORD
1919
gpg-passphrase: GPG_PASSPHRASE
20-
- name: Publish package
20+
- name: Publish to the Maven Central Repository
2121
run: mvn --batch-mode deploy
2222
env:
2323
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
2424
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
2525
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
26-
publish-github:
27-
runs-on: ubuntu-latest
28-
steps:
29-
- uses: actions/checkout@v3
26+
- name: Publish to the Maven Central Repository
27+
run: mvn --batch-mode deploy
28+
env:
29+
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
30+
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
3031
- name: Set up Java for publishing to GitHub Packages
3132
uses: actions/setup-java@v3
3233
with:
33-
java-version: '8'
34+
java-version: '11'
3435
distribution: 'adopt'
35-
server-id: github
3636
- name: Publish to GitHub Packages
3737
run: mvn --batch-mode deploy
3838
env:

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<artifactId>cms</artifactId>
77
<packaging>jar</packaging>
88
<name>contentstack-management-java</name>
9-
<version>1.0.1-SNAPSHOT</version>
9+
<version>1.2.0-SNAPSHOT</version>
1010
<description>Contentstack Java Management SDK for Content Management API, Contentstack is a headless CMS with an
1111
API-first approach
1212
</description>

0 commit comments

Comments
 (0)