Skip to content

Commit

Permalink
publish to github package
Browse files Browse the repository at this point in the history
  • Loading branch information
kangli committed May 26, 2021
1 parent 74c0393 commit c99806e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ jobs:
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
Expand Down
7 changes: 3 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>com.oath.halodb</groupId>
<artifactId>halodb</artifactId>
<version>0.5.4-SNAPSHOT</version>
<version>0.5.6</version>
<packaging>jar</packaging>

<name>HaloDB</name>
Expand Down Expand Up @@ -152,9 +152,8 @@

<distributionManagement>
<repository>
<id>halodb</id>
<url>https://api.bintray.com/maven/yahoo/maven/halodb/;publish=1</url>
<id>github</id>
<url>https://maven.pkg.github.com/yahoo/halodb</url>
</repository>
</distributionManagement>

</project>

0 comments on commit c99806e

Please sign in to comment.