Created
December 25, 2020 05:43
-
-
Save MelbourneDeveloper/e0e0cfa30e3670376785fd6551939d4d to your computer and use it in GitHub Desktop.
Device .Net Azure Pipeline YAML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigger: | |
- main | |
pool: | |
vmImage: "windows-latest" | |
steps: | |
- task: NuGetCommand@2 | |
inputs: | |
command: "restore" | |
restoreSolution: "src/Device.Net.Pipelines.sln" | |
feedsToUse: "select" | |
- task: MSBuild@1 | |
inputs: | |
solution: "src/Device.Net.Pipelines.sln" | |
configuration: "Release" | |
- task: NuGetCommand@2 | |
inputs: | |
command: "pack" | |
packagesToPack: "Build/NuSpecs/*.nuspec" | |
versioningScheme: "off" | |
- task: NuGetCommand@2 | |
inputs: | |
command: 'push' | |
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' | |
nuGetFeedType: 'internal' | |
publishVstsFeed: 'a579837a-f36e-462f-8492-1a622b5cadb9/f3bac9de-5bde-4855-b10a-d1fe458ac336' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment