From 550638fa2cec9e116ace8e2c6f5ea8009cf4e09e Mon Sep 17 00:00:00 2001 From: kdaud Date: Wed, 25 Sep 2024 13:44:24 +0300 Subject: [PATCH] address review --- .github/workflows/build-publish.yml | 3 +-- pom.xml | 12 ++++++++++++ 2 files changed, 13 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 15c4dd2..e302ebb 100644 --- a/pom.xml +++ b/pom.xml @@ -268,6 +268,18 @@ + + + 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 + +