From af03ccdf974fed2606bd89f2f7e6da41b38184a9 Mon Sep 17 00:00:00 2001 From: Emil Lai Date: Fri, 19 Jan 2024 13:31:28 +0100 Subject: [PATCH] add setup step for central maven repository. --- .github/workflows/release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1c656dc1b..a5a04aa53 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -187,6 +187,17 @@ jobs: project: maven custom-command: cd concordium-sdk && mvn javadoc:javadoc -f pom.xml # Generates javadoc from the delombok'ed code + # Setup maven central repository + - name: Set up Maven Central Repository + uses: actions/setup-java@v3 + with: + java-version: '8' + distribution: 'temurin' + server-id: ossrh + server-username: MAVEN_USERNAME + server-password: MAVEN_PASSWORD + + # Publish the artifact to the central maven repository. - name: Publish package to central maven repository run: mvn --batch-mode deploy env: