Skip to content

Commit 71dea44

Browse files
GitHub Package Release
1 parent 2ef6c0e commit 71dea44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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 --batch-mode deploy
18+
run: mvn clean deploy -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/contentstack/contentstack-java
1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
2323
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
2424
- name: Publish package
25-
run: mvn clean deploy -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/contentstack/contentstack-java
25+
run: mvn clean deploy
2626

2727
# run: mvn --batch-mode deploy

0 commit comments

Comments
 (0)