Skip to content

Commit

Permalink
ci: add auto publish
Browse files Browse the repository at this point in the history
  • Loading branch information
lotharking committed Sep 27, 2024
1 parent 471ed0f commit 9539ae5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: CI

on:
push:
branches: [ main ]
branches: [ main, ci/add-auto-pusblish ]
workflow_dispatch:

env:
Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.1.2</version>
<version>0.5.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<tokenEnabled>true</tokenEnabled>
<autoPublish>true</autoPublish>
<waitUntil>uploaded</waitUntil>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 9539ae5

Please sign in to comment.