From 47948c25424674c5b9f79a9cd7c33fafb6924370 Mon Sep 17 00:00:00 2001 From: apudovkin-ms Date: Thu, 26 Sep 2024 11:15:03 +0200 Subject: [PATCH] Update azure-pipelines.yml --- azure-pipelines.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 67dc63c..bf4ee20 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -31,6 +31,7 @@ extends: - job: job pool: name: 1ES-Shared-Hosted-Pool_Linux-Mariner-2 + os: linux vmImage: 'ubuntu-latest' steps: - task: GoTool@0 @@ -43,8 +44,9 @@ extends: workingDirectory: '$(System.DefaultWorkingDirectory)/azuredevops' - task: Go@0 inputs: - command: 'build' + command: 'clean' workingDirectory: '$(System.DefaultWorkingDirectory)/azuredevops' - - task: CopyFiles@2 + - task: Go@0 inputs: - TargetFolder: '$(Build.ArtifactStagingDirectory)' + command: 'build' + workingDirectory: '$(System.DefaultWorkingDirectory)/azuredevops'