From a43a45dfd51c4c38e77cf610cb458d191a330df9 Mon Sep 17 00:00:00 2001 From: ZakirSheikh Date: Tue, 22 Aug 2023 10:38:40 +0530 Subject: [PATCH] work_flow_test3_14 --- .github/workflows/workflow.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 6ec4a61..b75b400 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -28,13 +28,8 @@ jobs: - name: Set current date as env variable run: echo "date_today=$(date +'%Y-%m-%d')" >> $GITHUB_ENV - # Set Repository Name As Env Variable - - name: Set variables - run: | - env: - # variables - # logic - GIT_TAG=$(grep "versionName" "./app/build.gradle" | awk '{print $2}') # get value versionName"0.1.0" + - name: Set Git Tag as env variable + run: $(grep "GET_TAG" "./app/build.gradle" | awk '{print $2}') >> $GITHUB_ENV # get value versionName"0.1.0" - name: Create Github Release uses: softprops/action-gh-release@v1