From dd4cd8d6b65ec2131435beaa813117abd9badd95 Mon Sep 17 00:00:00 2001 From: Chayim Date: Thu, 2 Jun 2022 12:13:58 +0300 Subject: [PATCH] Updating release process in branch 3 (#3013) --- .github/workflows/version-and-release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/version-and-release.yml b/.github/workflows/version-and-release.yml index 0808b6f711..007d8875e8 100644 --- a/.github/workflows/version-and-release.yml +++ b/.github/workflows/version-and-release.yml @@ -1,9 +1,8 @@ name: Release on: - push: - tags: - - '*' + release: + types: [published] jobs: build: @@ -23,7 +22,7 @@ jobs: uses: actions/setup-java@v2 with: java-version: '8' - distribution: 'adopt' + distribution: 'temurin' server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD