From 601dff5621afbe428bf312f56e3950e8525205a8 Mon Sep 17 00:00:00 2001 From: Mohammad Sarbandi Date: Sat, 1 Jan 2022 22:31:24 +0100 Subject: [PATCH] Update releae pipeline --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 191bc40..2a3ac14 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,7 +18,7 @@ jobs: - name: Version run: mvn versions:set "-DnewVersion=${{ github.ref_name }}" - name: Build - run: mvn --batch-mode package --file pom.xml + run: mvn --batch-mode package - name: Set up Apache Maven Central uses: actions/setup-java@v2 with: @@ -30,7 +30,7 @@ jobs: gpg-private-key: ${{ secrets.GPG_KEY }} gpg-passphrase: GPG_PASS - name: Publish - run: mvn --batch-mode deploy -DskipTests -Dgpg.sign + run: mvn --batch-mode deploy -Dgpg.sign env: MVN_USER: ${{ secrets.MVN_USER }} MVN_TOKEN: ${{ secrets.MVN_TOKEN }}