From 1f848dc180dbb95776b5ab01c6fddfe8c0b79ecc Mon Sep 17 00:00:00 2001 From: Praful Rakhade Date: Fri, 6 Jun 2025 13:48:46 +0530 Subject: [PATCH] [MOSIP-41674] Update maven-publish-to-nexus.yml Signed-off-by: Praful Rakhade --- .github/workflows/maven-publish-to-nexus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish-to-nexus.yml b/.github/workflows/maven-publish-to-nexus.yml index 4ecd778d..054d82c0 100644 --- a/.github/workflows/maven-publish-to-nexus.yml +++ b/.github/workflows/maven-publish-to-nexus.yml @@ -58,7 +58,7 @@ jobs: gpg2 --quiet --batch --passphrase=${{secrets.GPG_SECRET}} --allow-secret-key-import --import ./.github/keys/mosipgpgkey_sec.gpg - name: Setup the settings file for ossrh server - run: echo " ossrh ${{secrets.OSSRH_USER}} ${{secrets.OSSRH_SECRET}} ossrh true gpg2 ${{secrets.GPG_SECRET}} allow-snapshots true snapshots-repo https://oss.sonatype.org/content/repositories/snapshots false true releases-repo https://oss.sonatype.org/service/local/staging/deploy/maven2 true false danubetech-maven-public https://repo.danubetech.com/repository/maven-public/ sonar . https://sonarcloud.io false " > $GITHUB_WORKSPACE/settings.xml + run: echo " ossrh ${{secrets.OSSRH_USER}} ${{secrets.OSSRH_SECRET}} ossrh true gpg2 ${{secrets.GPG_SECRET}} allow-snapshots true snapshots-repo https://central.sonatype.com/repository/maven-snapshots/ false true releases-repo https://central.sonatype.com/api/v1/publisher true false danubetech-maven-public https://repo.danubetech.com/repository/maven-public/ sonar . https://sonarcloud.io false " > $GITHUB_WORKSPACE/settings.xml #- name: Build with Maven # run: cd ${{ inputs.SERVICE_LOCATION }} && mvn -B package --file pom.xml -s $GITHUB_WORKSPACE/settings.xml