Skip to content

Commit 367a09a

Browse files
Move to Publish/DownloadPipelineArtifact
1 parent 8e5b8a0 commit 367a09a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

azure-pipelines.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ jobs:
8787
ArtifactDirectory: bin\nupkg
8888
condition: and(succeeded(), not(eq(variables['build.reason'], 'PullRequest')), not(eq(variables['SignClientSecret'], '')), not(eq(variables['SignClientUser'], '')))
8989

90-
- task: PublishBuildArtifacts@1
90+
- task: PublishPipelineArtifact@1
9191
displayName: Publish Package Artifacts
9292
inputs:
93-
pathToPublish: .\bin\nupkg
94-
artifactType: container
93+
targetPath: .\bin\nupkg
9594
artifactName: Packages
95+
9696

9797
### Smoke Tests ###
9898

@@ -101,14 +101,14 @@ jobs:
101101
timeoutInMinutes: 40
102102

103103
steps:
104-
- task: DownloadBuildArtifacts@0
104+
- task: DownloadPipelineArtifact@2
105105
displayName: Download NuGet Packages Artifact
106106
inputs:
107-
artifactName: Packages
108-
downloadPath: .\bin
107+
artifact: Packages
108+
path: .\bin\nupkg
109109

110-
- powershell: Expand-Archive -Path '.\bin\Packages.zip' -DestinationPath '.\bin\nupkg'
111-
displayName: Expand NuGet Archive
110+
- powershell: dir .\bin\nupkg
111+
displayName: List NuGet Archive
112112

113113
- powershell: .\build\build.ps1 -target=SmokeTest
114114
displayName: SmokeTest

0 commit comments

Comments
 (0)