Skip to content

Commit

Permalink
changed package path
Browse files Browse the repository at this point in the history
  • Loading branch information
mozts2005 committed Jun 23, 2020
1 parent d30cfb2 commit 5607a53
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,10 @@ jobs:
dependsOn: Build
condition: and(succeeded(),or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'], 'refs/tags/v3.')))
steps:
- checkout: none
- task: DownloadPipelineArtifact@2
inputs:
path: $(Pipeline.Workspace)/Nuget_Package
artifact: 'Nuget_Package'

- task: PowerShell@2
Expand All @@ -108,7 +110,7 @@ jobs:
condition: and(succeeded(),eq(variables['IsPrerelease'] ,'True'))
inputs:
command: push
packagesToPush: '$(System.ArtifactsDirectory)/**/*.nupkg;!$(System.ArtifactsDirectory)/**/*.symbols.nupkg'
packagesToPush: '$(Pipeline.Workspace)/**/*.nupkg;!$(Pipeline.Workspace)/**/*.symbols.nupkg'
nuGetFeedType: external
publishFeedCredentials: 'Github Nuget Feed'

Expand All @@ -117,7 +119,7 @@ jobs:
condition: and(succeeded(), eq(variables['IsPrerelease'] ,'True'))
inputs:
command: push
packagesToPush: '$(System.ArtifactsDirectory)/**/*.nupkg;!$(System.ArtifactsDirectory)/**/*.symbols.nupkg'
packagesToPush: '$(Pipeline.Workspace)/**/*.nupkg;!$(Pipeline.Workspace)/**/*.symbols.nupkg'
nuGetFeedType: external
publishFeedCredentials: MyGet

Expand All @@ -126,7 +128,7 @@ jobs:
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v3.'),eq(variables['IsPrerelease'] ,'False'))
inputs:
command: push
packagesToPush: '$(System.ArtifactsDirectory)/**/*.nupkg;!$(System.ArtifactsDirectory)/**/*.symbols.nupkg'
packagesToPush: '$(Pipeline.Workspace)/**/*.nupkg;!$(Pipeline.Workspace)/**/*.symbols.nupkg'
nuGetFeedType: external
publishFeedCredentials: Nuget.org

Expand All @@ -139,5 +141,5 @@ jobs:
tagSource: gitTag
title: '$(Build.BuildNumber) ($(ReleaseDate))'
releaseNotesSource: inline
assets: '$(System.ArtifactsDirectory)/**/*.nupkg'
assets: '$(Pipeline.Workspace)/**/*.nupkg'
isDraft: true

0 comments on commit 5607a53

Please sign in to comment.