From a31f34f16a3921469f18126043194ac8d33f1886 Mon Sep 17 00:00:00 2001 From: Shawn Guo Date: Fri, 24 Jul 2020 23:30:46 +0800 Subject: [PATCH] Update ambari-lite-publish.yml --- .github/workflows/ambari-lite-publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ambari-lite-publish.yml b/.github/workflows/ambari-lite-publish.yml index 7ae6f5dcf2..1e5b7808d8 100644 --- a/.github/workflows/ambari-lite-publish.yml +++ b/.github/workflows/ambari-lite-publish.yml @@ -10,6 +10,8 @@ on: inputs: MAVEN_OPTS: description: 'MAVEN_OPTS' + TAG: + description: 'TAG' env: DEFAULT_MAVEN_OPTS: -Dmaven.artifact.threads=30 -Dmaven.wagon.http.retryHandler.count=3 @@ -42,8 +44,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ambari-lite-2.7.4.0-0-${{ env.GITHUB_SHA }} - release_name: ambari-lite-2.7.4.0-0-${{ env.GITHUB_SHA }} + tag_name: ambari-lite-2.7.4.0-0-${{ github.event.inputs.TAG }} + release_name: ambari-lite-2.7.4.0-0-${{ github.event.inputs.TAG }} draft: false prerelease: false