From 7942948e6a98660b399e5fdaab9d5d1269fe3f8c Mon Sep 17 00:00:00 2001 From: tomaytotomato <971697+tomaytotomato@users.noreply.github.com> Date: Fri, 9 Aug 2024 18:16:39 +0100 Subject: [PATCH] Fixed maven deploy plugin version --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a1d79b..bed64f4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,15 +32,15 @@ jobs: run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - name: Build with Maven - run: mvn clean verify -pl library -am + run: mvn clean verify env: MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Package with Maven - run: mvn versions:set -DnewVersion=${{ env.RELEASE_VERSION }} -pl library -am && mvn package -DskipTests -pl library -am + run: mvn versions:set -DnewVersion=${{ env.RELEASE_VERSION }} && mvn package -DskipTests - name: Deploy Github and Maven Central - run: mvn deploy -pl library -am -Prelease + run: mvn deploy env: GITHUB_USERNAME: ${{ secrets.GITHUB_ACTOR }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}