Skip to content

Commit

Permalink
publish github package
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhadaR committed Dec 9, 2022
1 parent f3ec124 commit 4cf4766
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ jobs:
- name: Build project with Maven
run: |
mvn -B package --file pom.xml
mvn deploy:deploy-file -Dfile=${{github.workspace}}/target/hello-world-maven-0.2.*.jar
mvn deploy:deploy-file -Durl= ${{github.workspace}} \
-DrepositoryId=CI_GitHub_Actions \
-Dfile=target/hello-world-maven-0.2.*.jar \
-DpomFile= pom.xml
env:

GITHUB_USER_REF: ${{ secrets.GIT_USERNAME }}
Expand Down

0 comments on commit 4cf4766

Please sign in to comment.