From 034dbe079f07745fba7ca8e06a277102b1368e1f Mon Sep 17 00:00:00 2001 From: piotradamczyk5 <65554637+piotradamczyk5@users.noreply.github.com> Date: Wed, 3 Mar 2021 18:42:26 +0100 Subject: [PATCH] fix: Snapshot publish by disabling closing staging artifacts (#1656) --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fd44fa0a70..44094cd2c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,6 +96,7 @@ jobs: - name: Gradle close staging on MavenCentral uses: eskatos/gradle-command-action@v1 + if: startsWith(github.ref, 'refs/tags/v') with: arguments: closeAndReleaseRepository -PMVN_CENTRAL_USER=${{ secrets.MVN_CENTRAL_USER }} -PMVN_CENTRAL_PASSWORD=${{ secrets.MVN_CENTRAL_PASSWORD }}