From f80eebff9d80e52af2df0bcddfa1a1ad00689ba4 Mon Sep 17 00:00:00 2001 From: julien Lengrand-Lambert Date: Thu, 23 Jul 2020 11:08:24 +0200 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index e2f6700..d6338e0 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -14,13 +14,11 @@ 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": "${{ 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 #mvn -B package --file pom.xml + run: cat ~/.m2/settings.xml; mvn -B deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: mkdir staging && cp cellar-app/target/*-with-dependencies.jar staging