Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Ryan Newington
2023-02-04 08:53:25 +11:00
parent 9668356e5d
commit 6bc51da3a8
+7 -7
View File
@@ -29,7 +29,7 @@ stages:
displayName: Build credential provider displayName: Build credential provider
dependsOn: [] dependsOn: []
jobs: jobs:
- job: "build-provider-job" - job: "build_provider_job"
steps: steps:
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
displayName: dotnet build displayName: dotnet build
@@ -153,11 +153,11 @@ stages:
targetPath: '$(Build.ArtifactStagingDirectory)/ps' targetPath: '$(Build.ArtifactStagingDirectory)/ps'
publishLocation: 'pipeline' publishLocation: 'pipeline'
- stage: build-psmodule - stage: build_psmodule
displayName: Build PowerShell module displayName: Build PowerShell module
dependsOn: [] dependsOn: []
jobs: jobs:
- job: "build-ps-job" - job: "build_ps_job"
steps: steps:
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
displayName: dotnet build displayName: dotnet build
@@ -217,9 +217,9 @@ stages:
targetPath: '$(Build.ArtifactStagingDirectory)\ps' targetPath: '$(Build.ArtifactStagingDirectory)\ps'
publishLocation: 'pipeline' publishLocation: 'pipeline'
- stage: publish-nuget - stage: publish_nuget
displayName: Publish packages to production feed displayName: Publish packages to production feed
dependsOn: "build-provider" dependsOn: "build_provider"
jobs: jobs:
- deployment: 'PublishPackages' - deployment: 'PublishPackages'
environment: 'Production' environment: 'Production'
@@ -242,9 +242,9 @@ stages:
nuGetFeedType: 'external' nuGetFeedType: 'external'
publishFeedCredentials: 'WindowsCredentialProviderNuget' publishFeedCredentials: 'WindowsCredentialProviderNuget'
- stage: publish-psgallery - stage: publish_psgallery
displayName: Publish module to PSGallery displayName: Publish module to PSGallery
dependsOn: "build-psmodule" dependsOn: "build_psmodule"
jobs: jobs:
- deployment: 'PublishPackages' - deployment: 'PublishPackages'
environment: 'Production' environment: 'Production'