Gogo deploy

This commit is contained in:
Julien Lengrand-Lambert
2020-07-22 23:42:45 +02:00
parent 284319e417
commit 4b6f776f3b

View File

@@ -18,15 +18,11 @@ jobs:
servers: '[{"id": "github", "username": "jlengrand", "password": "${GITHUB_TOKEN}"}]'
repositories: '[{ "id": "central", "url": "https://repo1.maven.org/maven2" }, { "id": "github", "url": "https://maven.pkg.github.com/jlengrand/cellar-driver" }]'
- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B deploy #mvn -B package --file pom.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: mkdir staging && cp cellar-app/target/*-with-dependencies.jar staging
- uses: actions/upload-artifact@v2
with:
name: Package
path: staging
- uses: actions/upload-artifact@v1
with:
name: Package
path: staging