Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user