diff --git a/.github/workflows/build-and-publish-release.yml b/.github/workflows/build-and-publish-release.yml index 0520af7..c5198e8 100644 --- a/.github/workflows/build-and-publish-release.yml +++ b/.github/workflows/build-and-publish-release.yml @@ -35,16 +35,11 @@ jobs: SNAPSHOT_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.SNAPSHOT_DEPLOYMENT_REPOSITORY_URL }} RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }} run: | - mvn -X -B deploy \ + mvn -B deploy \ -P homelab \ --settings=${{ github.workspace }}/.mvn/settings.xml - name: Finish release run: mvn gitflow:release-finish -B -DpushRemote=true -DallowSnapshots=true env: GITHUB_ACTOR: 3dwardch3ng - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - - uses: actions/upload-artifact@v3.1.3 - if: always() - with: - name: Java Artifacts - path: ${{ github.workspace }}/**/target/*.* \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/build-and-publish-snapshot.yml b/.github/workflows/build-and-publish-snapshot.yml index 4ac6a4c..218ba1b 100644 --- a/.github/workflows/build-and-publish-snapshot.yml +++ b/.github/workflows/build-and-publish-snapshot.yml @@ -31,11 +31,6 @@ jobs: SNAPSHOT_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.SNAPSHOT_DEPLOYMENT_REPOSITORY_URL }} RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }} run: | - mvn -X -B deploy \ + mvn -B deploy \ -P homelab \ - --settings=${{ github.workspace }}/.mvn/settings.xml - - uses: actions/upload-artifact@v3.1.3 - if: always() - with: - name: Java Artifacts - path: ${{ github.workspace }}/**/target/*.* \ No newline at end of file + --settings=${{ github.workspace }}/.mvn/settings.xml \ No newline at end of file