From c99806e47dd3405ff831aee172b4e04b44268115 Mon Sep 17 00:00:00 2001 From: kangli Date: Tue, 25 May 2021 14:36:44 -0700 Subject: [PATCH] publish to github package --- .github/workflows/maven-publish.yml | 3 --- pom.xml | 7 +++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 6b86ef7..450a86d 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -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: diff --git a/pom.xml b/pom.xml index 27d8540..4adc389 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ com.oath.halodb halodb - 0.5.4-SNAPSHOT + 0.5.6 jar HaloDB @@ -152,9 +152,8 @@ - halodb - https://api.bintray.com/maven/yahoo/maven/halodb/;publish=1 + github + https://maven.pkg.github.com/yahoo/halodb -