Skip to content

Commit 8b4adc8

Browse files
[ci] remove $(signType) variable
Context: dotnet/android#10521 Signing steps are failing with: ##[warning]WARNING: Signing in this pipeline will break after August 31st due to a missing PME service connection for signing Caused by this value being blank: ConnectedPMEServiceName: To resolve this in dotnet/android, we removed usage of a variable, so I'm thinking removing `$(signType)` here will resolve the issue.
1 parent d3b5c00 commit 8b4adc8

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

build/ci/stage-sign-artifacts.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@ stages:
1414
artifactName: output-windows
1515
usePipelineArtifactTasks: true
1616
checkoutType: self
17-
signType: $(signType)
17+
${{ if and(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), not(eq(variables['Build.Reason'], 'PullRequest'))) }}:
18+
signType: Real
19+
${{ else }}:
20+
signType: Test

build/ci/variables.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,3 @@ variables:
4343

4444
# Signing settings
4545
TeamName: .NET MAUI
46-
${{ if and(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), not(eq(variables['Build.Reason'], 'PullRequest'))) }}:
47-
signType: Real
48-
${{ else }}:
49-
signType: Test

0 commit comments

Comments
 (0)