From 70a48abcacc181dc7c1f76e1d51a1a4941672bb2 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Thu, 29 Aug 2024 12:00:51 +1000 Subject: [PATCH] update maven settings --- .github/workflows/build-and-publish-release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish-release.yml b/.github/workflows/build-and-publish-release.yml index b713813..3256b39 100644 --- a/.github/workflows/build-and-publish-release.yml +++ b/.github/workflows/build-and-publish-release.yml @@ -27,7 +27,10 @@ jobs: git config --global user.name "3dwardch3ng" git config --global core.autocrlf input - name: Start release - run: mvn gitflow:release-start -B -DpushRemote=true -DallowSnapshots=true + run: | + mvn gitflow:release-start -B -DpushRemote=true -DallowSnapshots=true \ + -P homelab \ + --settings=${{ github.workspace }}/.mvn/settings.xml - name: Maven Publish env: GITHUB_ACTOR: '3dwardch3ng' @@ -42,7 +45,10 @@ jobs: -P homelab \ --settings=${{ github.workspace }}/.mvn/settings.xml - name: Finish release - run: mvn gitflow:release-finish -B -DpushRemote=true -DallowSnapshots=true + run: | + mvn gitflow:release-finish -B -DpushRemote=true -DallowSnapshots=true \ + -P homelab \ + --settings=${{ github.workspace }}/.mvn/settings.xml env: GITHUB_ACTOR: 3dwardch3ng GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} \ No newline at end of file