Skip to content

Commit c1ceec9

Browse files
committed
Use the sonatype publisher for snapshots
Without this, the snapshot won’t auto-close.
1 parent 31e5b93 commit c1ceec9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
run: |
2929
git config --global user.name github-actions
3030
git config --global user.email [email protected]
31-
- name: Publish to Maven Central
32-
run: mvn deploy
31+
- name: Publish Snapshot to Maven Central
32+
run: mvn deploy -B -Possrh
3333
env:
3434
MAVEN_USERNAME: hap-java-dev
3535
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}

0 commit comments

Comments
 (0)