single thread for maven-deploy-plugin

This commit is contained in:
2024-08-28 23:36:41 +10:00
parent bf50c6764f
commit 85af9ac704
3 changed files with 5 additions and 4 deletions

View File

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

View File

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

View File

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