Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit 4abe0dc

Browse files
committed
Update publish.yml for Azure Pipelines
1 parent 50569d9 commit 4abe0dc

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

Build Configurations/publish.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pool:
1010
vmImage: 'ubuntu-latest'
1111

1212
variables:
13-
- buildConfiguration: 'Release'
13+
buildConfiguration: 'Release'
1414

1515
steps:
1616
- template: 'Templates/Build Net Core.yml'
@@ -22,4 +22,15 @@ steps:
2222
projects: '**/NetCoreEntityFramework.csproj'
2323
buildConfiguration: '$(buildConfiguration)'
2424
skipBuild: true
25-
skipInstall: true
25+
skipInstall: true
26+
27+
- task: NuGetAuthenticate@0
28+
inputs:
29+
nuGetServiceConnections: 'NuGet Feed'
30+
31+
- task: NuGetCommand@2
32+
inputs:
33+
command: 'push'
34+
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
35+
nuGetFeedType: 'external'
36+
publishFeedCredentials: 'NuGet Feed'

0 commit comments

Comments
 (0)