Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Ryan Newington
2023-02-04 10:52:52 +11:00
parent f4e212809d
commit 169228bfdb
+6 -3
View File
@@ -267,12 +267,15 @@ stages:
deploy:
steps:
- checkout: none
- download: current
artifact: ps
- task: DownloadPipelineArtifact@2
inputs:
buildType: 'current'
artifactName: 'ps'
targetPath: '$(Pipeline.Workspace)/Lithnet.CredentialProvider.Management'
- task: PowerShell@2
displayName: 'Upload module to PSGallery'
inputs:
targetType: 'inline'
script: |
Publish-Module -Path "$(Pipeline.Workspace)\ps" -NuGetApiKey "$(psgallery.apikey)"
Publish-Module -Path "$(Pipeline.Workspace)\Lithnet.CredentialProvider.Management" -NuGetApiKey "$(psgallery.apikey)"