Skip to content

Commit e68c71f

Browse files
committed
2 parents 45bd817 + 12eccea commit e68c71f

1 file changed

Lines changed: 16 additions & 12 deletions

File tree

azure-pipelines.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,25 @@ pool:
1010
vmImage: 'windows-latest'
1111

1212
variables:
13-
group: status-app
14-
solution: 'status/csharp/csharp.sln'
15-
buildPlatform: 'x86|x64|ARM'
16-
buildConfiguration: 'Release'
17-
appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\'
13+
- group: status-app
14+
- name: solution
15+
value: 'status/csharp/csharp.sln'
16+
- name: buildPlatform
17+
value: 'x86|x64|ARM'
18+
- name: buildConfiguration
19+
value: 'Release'
20+
- name: appxPackageDir
21+
value: '$(build.artifactStagingDirectory)\AppxPackages\\'
1822

1923
steps:
2024
- task: NuGetToolInstaller@1
2125

26+
- task: NuGetCommand@2
27+
inputs:
28+
restoreSolution: '$(solution)'
29+
2230
- task: DownloadSecureFile@1
23-
name: mySecureFile
31+
name: keystoreFile
2432
inputs:
2533
secureFile: '$(signing.keystore)'
2634

@@ -30,7 +38,7 @@ steps:
3038
script: |
3139
Write-Host "Start adding the PFX file to the certificate store."
3240
33-
$pfxpath = '$(mySecureFile.keystore)'
41+
$pfxpath = '$(keystoreFile.secureFilePath)'
3442
$password = '$(signing.password)'
3543
3644
Add-Type -AssemblyName System.Security
@@ -41,10 +49,6 @@ steps:
4149
$store.Add($cert)
4250
$store.Close()
4351
44-
- task: NuGetCommand@2
45-
inputs:
46-
restoreSolution: '$(solution)'
47-
4852
- task: VSBuild@1
4953
inputs:
5054
platform: 'x86'
@@ -73,7 +77,7 @@ steps:
7377

7478
- task: AppCenterDistribute@3
7579
inputs:
76-
serverEndpoint: 'VSAC'
80+
serverEndpoint: 'VS AppCenter'
7781
appSlug: '$(appSlug)'
7882
appFile: '$(build.artifactstagingdirectory)\AppxPackages\*.appxupload'
7983
releaseNotesOption: 'input'

0 commit comments

Comments
 (0)