From 595efa728fcb825dbb6a3b7630d7f3ec48acfa69 Mon Sep 17 00:00:00 2001 From: "Matteo Franci a.k.a. Fugerit" Date: Mon, 12 Feb 2024 00:12:03 +0100 Subject: [PATCH] Deploy workflow --- .github/workflows/deploy_maven_package.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_maven_package.yml b/.github/workflows/deploy_maven_package.yml index 1ad1c87..09fd899 100644 --- a/.github/workflows/deploy_maven_package.yml +++ b/.github/workflows/deploy_maven_package.yml @@ -27,8 +27,10 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD + - name: Build package + run: mvn clean install -P full,coverage,metadata - name: Publish package - run: mvn --batch-mode deploy -P full,coverage,metadata + run: mvn --batch-mode deploy env: MAVEN_USERNAME: ${{ secrets.OSS_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSS_PASSWORD }} \ No newline at end of file