From 6e46da36e1b901068ce66abd1cb8b774a6d593be Mon Sep 17 00:00:00 2001 From: kdaud Date: Wed, 25 Sep 2024 13:41:28 +0300 Subject: [PATCH] address review --- .github/workflows/build-publish.yml | 3 +-- pom.xml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index 0470ffe..3300709 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -13,13 +13,12 @@ jobs: uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-build-test.yml@main with: java-version: "8" - maven-phase: "install" secrets: NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} publish: - if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'release' }} + if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'release' }} needs: build uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-publish.yml@main secrets: diff --git a/pom.xml b/pom.xml index bab73c8..7b66a0e 100644 --- a/pom.xml +++ b/pom.xml @@ -89,6 +89,19 @@ + + + Mekom Solutions Nexus repo for releases + mks-nexus-public-releases + https://nexus.mekomsolutions.net/repository/maven-releases + + + Mekom Solutions Nexus repo for snapshots + mks-nexus-public-snapshots + https://nexus.mekomsolutions.net/repository/maven-snapshots + + +