Skip to content

Commit

Permalink
Move to Publish/DownloadPipelineArtifact
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-hawker committed Dec 11, 2020
1 parent 8e5b8a0 commit 367a09a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ jobs:
ArtifactDirectory: bin\nupkg
condition: and(succeeded(), not(eq(variables['build.reason'], 'PullRequest')), not(eq(variables['SignClientSecret'], '')), not(eq(variables['SignClientUser'], '')))

- task: PublishBuildArtifacts@1
- task: PublishPipelineArtifact@1
displayName: Publish Package Artifacts
inputs:
pathToPublish: .\bin\nupkg
artifactType: container
targetPath: .\bin\nupkg
artifactName: Packages


### Smoke Tests ###

Expand All @@ -101,14 +101,14 @@ jobs:
timeoutInMinutes: 40

steps:
- task: DownloadBuildArtifacts@0
- task: DownloadPipelineArtifact@2
displayName: Download NuGet Packages Artifact
inputs:
artifactName: Packages
downloadPath: .\bin
artifact: Packages
path: .\bin\nupkg

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

- powershell: .\build\build.ps1 -target=SmokeTest
displayName: SmokeTest
Expand Down

0 comments on commit 367a09a

Please sign in to comment.