Skip to content

Instantly share code, notes, and snippets.

@appcoreopc
Created July 29, 2021 04:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save appcoreopc/efaffac1fb8564e69bf8d12149ef9927 to your computer and use it in GitHub Desktop.
Save appcoreopc/efaffac1fb8564e69bf8d12149ef9927 to your computer and use it in GitHub Desktop.
- task: DotNetCoreCLI@2
displayName: Publish Api
inputs:
command: "publish"
publishWebProjects: "false"
versioningScheme: "byBuildNumber"
workingDirectory: "$(Build.SourcesDirectory)"
projects: "**/*.Api.csproj"
arguments: "--output $(Build.ArtifactStagingDirectory) --configuration $(buildConfiguration)"
zipAfterPublish: "false"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment