Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Ryan Newington
2023-02-04 10:18:53 +11:00
parent 919831ae24
commit caadbd6b54
+6
View File
@@ -157,6 +157,7 @@ stages:
inputs: inputs:
targetPath: '$(Build.ArtifactStagingDirectory)/cp' targetPath: '$(Build.ArtifactStagingDirectory)/cp'
publishLocation: 'pipeline' publishLocation: 'pipeline'
artifact: cp
- stage: build_psmodule - stage: build_psmodule
displayName: Build PowerShell module displayName: Build PowerShell module
@@ -223,6 +224,7 @@ stages:
inputs: inputs:
targetPath: '$(Build.ArtifactStagingDirectory)/ps' targetPath: '$(Build.ArtifactStagingDirectory)/ps'
publishLocation: 'pipeline' publishLocation: 'pipeline'
artifact: ps
- stage: publish_nuget - stage: publish_nuget
displayName: Publish packages to production feed displayName: Publish packages to production feed
@@ -238,6 +240,8 @@ stages:
deploy: deploy:
steps: steps:
- checkout: none - checkout: none
- download: current
artifact: cp
- task: NuGetToolInstaller@1 - task: NuGetToolInstaller@1
inputs: inputs:
versionSpec: '>=4.9.0-0' versionSpec: '>=4.9.0-0'
@@ -263,6 +267,8 @@ stages:
deploy: deploy:
steps: steps:
- checkout: none - checkout: none
- download: current
artifact: ps
- task: PowerShell@2 - task: PowerShell@2
displayName: 'Upload module to PSGallery' displayName: 'Upload module to PSGallery'
inputs: inputs: