From f861833fa386f36a0cd9e3be02a05573699e8cce Mon Sep 17 00:00:00 2001 From: Vivek <40461643+Vivekkr0311@users.noreply.github.com> Date: Thu, 24 Jul 2025 18:11:27 +0530 Subject: [PATCH] [ACS-9823]: [publish] maven central publishing (#713) * [ACS-9823]: providing logic for maven central config via ci file for release process * [ACS-9823]: providing logic for maven central config via ci file for release process --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82fa6df8..1366ebc5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -180,6 +180,20 @@ jobs: - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0 - name: "Build" run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V + - name: Set up Maven Central credentials + run: | + echo " + + + central + ${{ secrets.MAVEN_CENTRAL_USERNAME }} + ${{ secrets.MAVEN_CENTRAL_PASSWORD }} + + + " > ~/.m2/settings.xml - name: Import GPG key env: GPG_TTY: $(tty)