From 44112571a9d1db7a21bd5e2caa7cc13c81ac603a Mon Sep 17 00:00:00 2001 From: Amisha Canopas Date: Tue, 19 Mar 2024 16:26:05 +0530 Subject: [PATCH] Update Deploy.yml --- .github/workflows/Deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index e25494cfe..5fa14b439 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -78,9 +78,9 @@ jobs: fileData=`cat $file` IFS='.' read -a versionValue <<< "$fileData" - buildNumber=$(expr `expr ${versionValue[0]} \* 1000000` + `expr ${versionValue[1]} \* 10000` + ${GITHUB_RUN_ID}) + buildNumber=$(expr `expr ${versionValue[0]} \* 1000000` + `expr ${versionValue[1]} \* 10000` + ${{ github.run_attempt }}) IFS='' - buildName="${versionValue[0]}.${versionValue[1]}.$GITHUB_RUN_ID" + buildName="${versionValue[0]}.${versionValue[1]}.${{ github.run_attempt }}" echo "Uploading build $buildName" - name: Build and Archive Project