Skip to content

Commit 3de21f6

Browse files
committed
Remove nigtly flag
1 parent 48c47e8 commit 3de21f6

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ on:
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)
1812
env:
@@ -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

0 commit comments

Comments
 (0)