From 5ec920045bbfa1d49d7fbfe4c4ea4eb7f972b468 Mon Sep 17 00:00:00 2001 From: Arnaud Roques Date: Fri, 12 May 2023 21:27:18 +0200 Subject: [PATCH] chore: only publish to OSSRH when release --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac1f62fc3..a80c0567a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,7 +72,7 @@ jobs: else echo "This run will NOT make a release" fi - echo "do_test_linux=true" >> $GITHUB_OUTPUT + echo "do_test_linux=false" >> $GITHUB_OUTPUT echo "do_test_windows=false" >> $GITHUB_OUTPUT # We run the tests on many OS / Java combinations but also the Compile step because some users build @@ -260,7 +260,6 @@ jobs: cat gradle.properties echo "RELEASE_VERSION=$RELEASE_VERSION" .github/scripts/release-snapshot.sh - gradle --debug publish - name: Create release in GitHub and OSSRH if: needs.workflow_config.outputs.do_release == 'true'