This commit is contained in:
julien Lengrand-Lambert
2020-07-23 10:53:58 +02:00
committed by GitHub
parent 32ee657aa4
commit 9c02fcbefd

View File

@@ -14,8 +14,10 @@ jobs:
java-version: 11
- name: maven-settings
uses: whelk-io/maven-settings-xml-action@v10
env:
PASSWORD: ${{ secrets.GITHUB_TOKEN }}
with:
servers: '[{"id": "github", "username": "jlengrand", "password": "${GITHUB_TOKEN}"}]'
servers: '[{"id": "github", "username": "jlengrand", "password": "${env.PASSWORD}"}]'
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 #mvn -B package --file pom.xml