From af7ba1332c487b0e1f562f889cf1bb48e7f70838 Mon Sep 17 00:00:00 2001 From: Carlos Rafael Ramirez Date: Fri, 16 Aug 2024 01:22:33 +0200 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f2d19825..b605473f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,7 +16,7 @@ variables: solution: '**/*.sln' buildPlatform: 'x64|ARM64' buildConfiguration: 'Release' - appxPackageDir: '$(System.DefaultWorkingDirectory)\AppxPackages' + appxPackageDir: 'AppxPackages' steps: - task: DownloadSecureFile@1 @@ -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