Skip to content

Commit 7bd1029

Browse files
committed
Fix GitHub Packages: use deploy:deploy to skip central-publishing
1 parent e6543f4 commit 7bd1029

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
distribution: 'temurin'
4646

4747
- name: Publish to GitHub Packages
48-
run: mvn --batch-mode deploy -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/${{ github.repository }} -Dcentral.publishing.skip=true
48+
run: mvn --batch-mode deploy:deploy -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/${{ github.repository }}
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151

0 commit comments

Comments
 (0)