File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1313 - internal-dev
1414 - int
1515 - prod
16+ build_sandbox :
17+ description : Build sandbox container?
18+ required : false
19+ default : false
20+ type : boolean
1621
1722permissions :
1823 contents : read
6368 echo "does_pull_request_exist=false" >> $GITHUB_OUTPUT
6469 echo "pr_number=" >> $GITHUB_OUTPUT
6570 APIM_ENV="$ENVIRONMENT"
66- $ ENVIRONMENT=' main'
71+ ENVIRONMENT=" main"
6772 fi
6873
6974 echo "ENVIRONMENT=$ENVIRONMENT" >> $GITHUB_ENV
7984 environment : " ${{ env.ENVIRONMENT }}"
8085 apimEnv : " ${{ env.APIM_ENV }}"
8186 runId : " ${{ github.run_id }}"
82- buildSandbox : false
87+ buildSandbox : ${{ inputs.build_sandbox }}
8388 releaseVersion : ${{ github.ref_name }}
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ jobs:
107107 apimEnv : " internal-dev-sandbox"
108108 runId : " ${{ github.run_id }}"
109109 buildSandbox : true
110- releaseVersion : ${{ github.ref_name }}
110+ releaseVersion : ${{ github.head_ref || github. ref_name }}
111111
112112 # artefact-1:
113113 # name: "Artefact 1"
You can’t perform that action at this time.
0 commit comments