Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
+3
-3
@@ -231,7 +231,7 @@ stages:
|
|||||||
dependsOn: "build_provider"
|
dependsOn: "build_provider"
|
||||||
jobs:
|
jobs:
|
||||||
- deployment: 'PublishPackages'
|
- deployment: 'PublishPackages'
|
||||||
environment: 'Production'
|
environment: 'Public nuget feed'
|
||||||
displayName: Publish packages to public nuget feed
|
displayName: Publish packages to public nuget feed
|
||||||
pool:
|
pool:
|
||||||
vmImage: windows-2022
|
vmImage: windows-2022
|
||||||
@@ -258,7 +258,7 @@ stages:
|
|||||||
dependsOn: "build_psmodule"
|
dependsOn: "build_psmodule"
|
||||||
jobs:
|
jobs:
|
||||||
- deployment: 'PublishPackages'
|
- deployment: 'PublishPackages'
|
||||||
environment: 'Production'
|
environment: 'PowerShell Gallery'
|
||||||
displayName: Publish packages to public PSGallery
|
displayName: Publish packages to public PSGallery
|
||||||
pool:
|
pool:
|
||||||
vmImage: windows-2022
|
vmImage: windows-2022
|
||||||
@@ -274,5 +274,5 @@ stages:
|
|||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
script: |
|
script: |
|
||||||
Publish-Module -Name Lithnet.CredentialProvider.Management -Path "$(Pipeline.Workspace)\ps" -NuGetApiKey "$(psgallery.apikey)"
|
Publish-Module -Path "$(Pipeline.Workspace)\ps" -NuGetApiKey "$(psgallery.apikey)"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user