Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
burdoto committed Feb 27, 2021
2 parents 45bd817 + 12eccea commit e68c71f
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,25 @@ pool:
vmImage: 'windows-latest'

variables:
group: status-app
solution: 'status/csharp/csharp.sln'
buildPlatform: 'x86|x64|ARM'
buildConfiguration: 'Release'
appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\'
- group: status-app
- name: solution
value: 'status/csharp/csharp.sln'
- name: buildPlatform
value: 'x86|x64|ARM'
- name: buildConfiguration
value: 'Release'
- name: appxPackageDir
value: '$(build.artifactStagingDirectory)\AppxPackages\\'

steps:
- task: NuGetToolInstaller@1

- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'

- task: DownloadSecureFile@1
name: mySecureFile
name: keystoreFile
inputs:
secureFile: '$(signing.keystore)'

Expand All @@ -30,7 +38,7 @@ steps:
script: |
Write-Host "Start adding the PFX file to the certificate store."
$pfxpath = '$(mySecureFile.keystore)'
$pfxpath = '$(keystoreFile.secureFilePath)'
$password = '$(signing.password)'
Add-Type -AssemblyName System.Security
Expand All @@ -41,10 +49,6 @@ steps:
$store.Add($cert)
$store.Close()
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'

- task: VSBuild@1
inputs:
platform: 'x86'
Expand Down Expand Up @@ -73,7 +77,7 @@ steps:

- task: AppCenterDistribute@3
inputs:
serverEndpoint: 'VSAC'
serverEndpoint: 'VS AppCenter'
appSlug: '$(appSlug)'
appFile: '$(build.artifactstagingdirectory)\AppxPackages\*.appxupload'
releaseNotesOption: 'input'
Expand Down

0 comments on commit e68c71f

Please sign in to comment.