File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,17 +10,25 @@ pool:
1010 vmImage : ' windows-latest'
1111
1212variables :
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
1923steps :
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
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'
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'
You can’t perform that action at this time.
0 commit comments