From 67ec12527d2cefc95e141d48139411c110813abf 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 => ci.yml} | 5 ++--- pom.xml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) rename .github/workflows/{build-publish.yml => ci.yml} (86%) diff --git a/.github/workflows/build-publish.yml b/.github/workflows/ci.yml similarity index 86% rename from .github/workflows/build-publish.yml rename to .github/workflows/ci.yml index 0470ffe..912bf64 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Build and Publish +name: CI on: push: @@ -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 + +