From 450450677476b93d33d576087bd4e4075f8d5947 Mon Sep 17 00:00:00 2001 From: David Melendez Date: Thu, 5 Dec 2024 10:38:15 -0600 Subject: [PATCH] fix pipeline --- azure-pipelines.yml | 15 ++++++++++++++- .../ElCamino.DocFx.WebAppRefresh.Sample.csproj | 1 + 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2482cb4..9530e25 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,7 +25,20 @@ steps: - task: DotNetCoreCLI@2 inputs: command: 'build' - projects: '**/*.sln' + projects: '**/ElCamino.DocFx.WebAppRefresh.sln' arguments: '-c $(BuildConfiguration)' displayName: 'build projects' +- task: CopyFiles@1 + displayName: 'Copy Files to: $(Build.ArtifactStagingDirectory)' + inputs: + Contents: | + **/*.dll + **/*.nupkg + **/*.snupkg + **/*.zip + **/publish/** + TargetFolder: '$(Build.ArtifactStagingDirectory)' + +- task: PublishBuildArtifacts@1 + displayName: 'Publish Artifact: drop' diff --git a/sample/src/ElCamino.DocFx.WebAppRefresh.Sample/ElCamino.DocFx.WebAppRefresh.Sample.csproj b/sample/src/ElCamino.DocFx.WebAppRefresh.Sample/ElCamino.DocFx.WebAppRefresh.Sample.csproj index 9b27883..41ed2e4 100644 --- a/sample/src/ElCamino.DocFx.WebAppRefresh.Sample/ElCamino.DocFx.WebAppRefresh.Sample.csproj +++ b/sample/src/ElCamino.DocFx.WebAppRefresh.Sample/ElCamino.DocFx.WebAppRefresh.Sample.csproj @@ -2,6 +2,7 @@ net9 + 2.0