diff --git a/.github/workflows/build-and-publish-release.yml b/.github/workflows/build-and-publish-release.yml index ced3251..c577b62 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 home-lab \ --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..73eab1f 100644 --- a/.github/workflows/build-and-publish-snapshot.yml +++ b/.github/workflows/build-and-publish-snapshot.yml @@ -31,8 +31,9 @@ jobs: SNAPSHOT_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.SNAPSHOT_DEPLOYMENT_REPOSITORY_URL }} RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }} run: | - mvn -X -B deploy \ - -P publish \ + mvn -X -B deploy \ + -P home-lab \ + -Dmaven.artifact.threads=1 \ --settings=${{ github.workspace }}/.mvn/settings.xml - uses: actions/upload-artifact@v3.1.3 if: always() diff --git a/.mvn/settings.xml b/.mvn/settings.xml index 15cc350..73c28e6 100644 --- a/.mvn/settings.xml +++ b/.mvn/settings.xml @@ -1,7 +1,7 @@ - publish + home-lab ${env.DEPLOYMENT_REPOSITORY_ID}::${env.SNAPSHOT_DEPLOYMENT_REPOSITORY_URL} ${env.DEPLOYMENT_REPOSITORY_ID}::${env.RELEASE_DEPLOYMENT_REPOSITORY_URL}