From 5398c194432ee9dc1511b24cfc0822ffeb9eace1 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Thu, 29 Aug 2024 07:23:16 +1000 Subject: [PATCH] update maven settings --- .github/workflows/build-and-publish-release.yml | 2 +- .github/workflows/build-and-publish-snapshot.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish-release.yml b/.github/workflows/build-and-publish-release.yml index ced3251..0520af7 100644 --- a/.github/workflows/build-and-publish-release.yml +++ b/.github/workflows/build-and-publish-release.yml @@ -36,7 +36,7 @@ jobs: RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }} run: | mvn -X -B deploy \ - -P publish \ + -P homelab \ --settings=${{ github.workspace }}/.mvn/settings.xml - name: Finish release run: mvn gitflow:release-finish -B -DpushRemote=true -DallowSnapshots=true diff --git a/.github/workflows/build-and-publish-snapshot.yml b/.github/workflows/build-and-publish-snapshot.yml index 202fd9f..4ac6a4c 100644 --- a/.github/workflows/build-and-publish-snapshot.yml +++ b/.github/workflows/build-and-publish-snapshot.yml @@ -32,7 +32,7 @@ jobs: RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }} run: | mvn -X -B deploy \ - -P publish \ + -P homelab \ --settings=${{ github.workspace }}/.mvn/settings.xml - uses: actions/upload-artifact@v3.1.3 if: always()