From 2824b477c731879996bbaaf2517a5e2edd6f04df Mon Sep 17 00:00:00 2001 From: Adam Ruberti Date: Wed, 31 Jul 2024 15:39:59 +0200 Subject: [PATCH] chore: turn on releases on Central Maven (#19) --- .github/workflows/maven-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index bc9bb03..e91e093 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -76,7 +76,7 @@ jobs: run: echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT - name: Publish to Maven Central if: ${{ !endsWith(steps.artefact_version.outputs.version, '-SNAPSHOT') && github.ref == 'refs/heads/main' }} - run: mvn --batch-mode deploy -P gpg-sign -P nexus-staging -Dnexus-staging-maven-plugin.autoReleaseAfterClose=false + run: mvn --batch-mode deploy -P gpg-sign -P nexus-staging - name: Publish to GitHub Packages if: ${{ !endsWith(steps.artefact_version.outputs.version, '-SNAPSHOT') && github.ref == 'refs/heads/main' }} run: mvn --batch-mode deploy -P gpg-sign -P deploy-github-packages