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