File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 77 - ' [0-9]+.[0-9]+.[0-9]+-*'
88 pull_request :
99 workflow_dispatch :
10- inputs :
11- nightly :
12- description : ' Build as nightly version'
13- required : false
14- type : boolean
15- default : false
1610 schedule :
1711 - cron : ' 0 15 * * *' # Run at 3 PM UTC (1 AM Melbourne AEST / 2 AM AEDT)
1812env :
@@ -35,13 +29,12 @@ jobs:
3529 # if it is a pull request build set the build identity to branchname.runnumber
3630 if ("${{ github.event_name }}" -eq "pull_request" -and "${{ github.head_ref }}" -ne "") {
3731 $branchName = "${{ github.head_ref }}" -replace '[/\\]', '-' -replace '[^a-zA-Z0-9\-]', ''
38- $buildIdentity = "$branchName.${{ github.run_number }}"
3932
40- $env:BUILD_IDENTITY = $buildIdentity
33+ $env:BUILD_IDENTITY = "$branchName.${{ github.run_number }}"
4134 }
4235
4336 # if it is a scheduled build set the build identity to nightly
44- if ("${{ github.event_name }}" -eq "schedule" -or "${{ inputs.nightly }}" -eq "true" ) {
37+ if ("${{ github.event_name }}" -eq "schedule") {
4538 $env:BUILD_IDENTITY = "nightly.${{ github.run_number }}"
4639 }
4740
You can’t perform that action at this time.
0 commit comments