Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
+6
-3
@@ -267,12 +267,15 @@ stages:
|
|||||||
deploy:
|
deploy:
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
- checkout: none
|
||||||
- download: current
|
- task: DownloadPipelineArtifact@2
|
||||||
artifact: ps
|
inputs:
|
||||||
|
buildType: 'current'
|
||||||
|
artifactName: 'ps'
|
||||||
|
targetPath: '$(Pipeline.Workspace)/Lithnet.CredentialProvider.Management'
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Upload module to PSGallery'
|
displayName: 'Upload module to PSGallery'
|
||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
script: |
|
script: |
|
||||||
Publish-Module -Path "$(Pipeline.Workspace)\ps" -NuGetApiKey "$(psgallery.apikey)"
|
Publish-Module -Path "$(Pipeline.Workspace)\Lithnet.CredentialProvider.Management" -NuGetApiKey "$(psgallery.apikey)"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user