update settings

This commit is contained in:
2024-08-29 06:23:37 +10:00
parent 85af9ac704
commit 5e10be82ee
3 changed files with 4 additions and 3 deletions

View File

@@ -36,7 +36,8 @@ 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 home-lab \ -P homelab \
-Dmaven.artifact.threads=1 \
--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 home-lab \ -P homelab \
-Dmaven.artifact.threads=1 \ -Dmaven.artifact.threads=1 \
--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

View File

@@ -1,7 +1,7 @@
<settings> <settings>
<profiles> <profiles>
<profile> <profile>
<id>home-lab</id> <id>homelab</id>
<properties> <properties>
<altSnapshotDeploymentRepository>${env.DEPLOYMENT_REPOSITORY_ID}::${env.SNAPSHOT_DEPLOYMENT_REPOSITORY_URL}</altSnapshotDeploymentRepository> <altSnapshotDeploymentRepository>${env.DEPLOYMENT_REPOSITORY_ID}::${env.SNAPSHOT_DEPLOYMENT_REPOSITORY_URL}</altSnapshotDeploymentRepository>
<altReleaseDeploymentRepository>${env.DEPLOYMENT_REPOSITORY_ID}::${env.RELEASE_DEPLOYMENT_REPOSITORY_URL}</altReleaseDeploymentRepository> <altReleaseDeploymentRepository>${env.DEPLOYMENT_REPOSITORY_ID}::${env.RELEASE_DEPLOYMENT_REPOSITORY_URL}</altReleaseDeploymentRepository>