With github?

This commit is contained in:
Julien Lengrand-Lambert
2020-07-23 11:15:43 +02:00
parent 1efae78f05
commit fb313ab9ef
3 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ jobs:
servers: '[{"id": "github", "username": "jlengrand", "password": "${{ secrets.GITHUB_TOKEN }}"}]'
repositories: '[{ "id": "central2", "url": "https://repo1.maven.org/maven2" }, { "id": "github", "url": "https://maven.pkg.github.com/jlengrand/cellar-driver" }]'
- name: Build with Maven
run: cat ~/.m2/settings.xml; mvn -B deploy
run: mvn -B deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: mkdir staging && cp cellar-app/target/*-with-dependencies.jar staging

View File

@@ -117,7 +117,7 @@
<distributionManagement>
<repository>
<id>github-cellar</id>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/jlengrand/cellar</url>
</repository>

View File

@@ -20,7 +20,7 @@
<distributionManagement>
<repository>
<id>github-cellar</id>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/jlengrand/cellar</url>
</repository>