update maven settings

This commit is contained in:
2024-08-29 07:23:16 +10:00
parent 831b323947
commit 5398c19443
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ jobs:
RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }} RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }}
run: | run: |
mvn -X -B deploy \ mvn -X -B deploy \
-P publish \ -P homelab \
--settings=${{ github.workspace }}/.mvn/settings.xml --settings=${{ github.workspace }}/.mvn/settings.xml
- name: Finish release - name: Finish release
run: mvn gitflow:release-finish -B -DpushRemote=true -DallowSnapshots=true run: mvn gitflow:release-finish -B -DpushRemote=true -DallowSnapshots=true

View File

@@ -32,7 +32,7 @@ jobs:
RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }} RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }}
run: | run: |
mvn -X -B deploy \ mvn -X -B deploy \
-P publish \ -P homelab \
--settings=${{ github.workspace }}/.mvn/settings.xml --settings=${{ github.workspace }}/.mvn/settings.xml
- uses: actions/upload-artifact@v3.1.3 - uses: actions/upload-artifact@v3.1.3
if: always() if: always()