Skip to content

Commit 5607a53

Browse files
committed
changed package path
1 parent d30cfb2 commit 5607a53

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

ci/azure-pipelines.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ jobs:
8080
dependsOn: Build
8181
condition: and(succeeded(),or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'], 'refs/tags/v3.')))
8282
steps:
83+
- checkout: none
8384
- task: DownloadPipelineArtifact@2
8485
inputs:
86+
path: $(Pipeline.Workspace)/Nuget_Package
8587
artifact: 'Nuget_Package'
8688

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

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

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

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

0 commit comments

Comments
 (0)