Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
crramirez committed Aug 15, 2024
1 parent 310ff25 commit af7ba13
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variables:
solution: '**/*.sln'
buildPlatform: 'x64|ARM64'
buildConfiguration: 'Release'
appxPackageDir: '$(System.DefaultWorkingDirectory)\AppxPackages'
appxPackageDir: 'AppxPackages'

steps:
- task: DownloadSecureFile@1
Expand Down Expand Up @@ -87,33 +87,29 @@ steps:
maximumCpuCount: true
msbuildArchitecture: 'x64'

- task: DeleteFiles@1
inputs:
SourceFolder: '$(System.DefaultWorkingDirectory)'
Contents: |
ARM64\install.tar.gz
x64\install.tar.gz
- task: CopyFiles@2
inputs:
SourceFolder: '$(appxPackageDir)'
Contents: '**\*bundle.msixupload'
TargetFolder: '$(Build.ArtifactStagingDirectory)'
- task: CopyFiles@2
- task: DeleteFiles@1
inputs:
SourceFolder: '$(appxPackageDir)'
Contents: '**\*.msixbundle'
TargetFolder: '$(Build.ArtifactStagingDirectory)'
Contents: |
**\*bundle.msixupload
**\*.msixbundle
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'
publishLocation: 'Container'

- task: DeleteFiles@1
inputs:
SourceFolder: '$(appxPackageDir)'
Contents: '**\*.msixbundle'
- task: DeleteFiles@1
inputs:
Contents: 'x64\install.tar.gz'
- task: DeleteFiles@1
inputs:
Contents: 'ARM64\install.tar.gz'

- task: store-flight@0
continueOnError: true
timeoutInMinutes: 10
Expand Down

0 comments on commit af7ba13

Please sign in to comment.