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: 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)"