Skip to content

Commit 1b6d19a

Browse files
housekeeping (#223)
* Added back nuget publish * Updated myget feed * removed extra bit not needed * only publish on master or tag
1 parent 760d696 commit 1b6d19a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.azure-pipelines.yml

+17
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,20 @@ jobs:
104104
Coverage: $(Coverage)
105105
Postfix: ' - $(BuildName)'
106106
PublishVSTest: true
107+
- ${{ if and(or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['Build.SourceBranch'], 'refs/heads/master')), ne(variables['System.PullRequest.IsFork'], 'true')) }}:
108+
- job: Publish_NuGet_Packages
109+
displayName: "Publish NuGet Packages"
110+
pool:
111+
vmImage: "windows-latest"
112+
dependsOn:
113+
- Build
114+
steps:
115+
- checkout: none
116+
- download: current
117+
displayName: "Download NuGet Packages"
118+
artifact: 'NuGet - Windows'
119+
- template: support/nuget-push.yml@rsg
120+
parameters:
121+
Artifacts: "$(Pipeline.Workspace)"
122+
GitHubPackages: false
123+
MyGetPackages: true

0 commit comments

Comments
 (0)