Skip to content

Commit 80f1e3b

Browse files
GitHub Package Release
1 parent 71dea44 commit 80f1e3b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/github-package-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
distribution: 'adopt'
1616
server-id: github
1717
- name: Publish to GitHub Packages
18-
run: mvn clean deploy -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/contentstack/contentstack-java
18+
run: mvn --batch-mode deploy
1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,17 @@
9393
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
9494
</snapshotRepository>
9595

96-
<!-- GitHub Packages-->
96+
<!--GitHub Packages-->
9797
<repository>
9898
<id>github</id>
9999
<url>https://maven.pkg.github.com/contentstack/contentstack-java</url>
100100
</repository>
101101

102-
<!-- Maven Release Repository-->
103-
<!-- <repository>-->
104-
<!-- <id>ossrh</id>-->
105-
<!-- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
106-
<!-- </repository>-->
102+
<!--Maven Release Repository-->
103+
<!-- <repository>-->
104+
<!-- <id>ossrh</id>-->
105+
<!-- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
106+
<!-- </repository>-->
107107

108108
</distributionManagement>
109109

0 commit comments

Comments
 (0)