From 457b7e6a7423935790015e4bfbedee401fb6f37d Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Tue, 23 Jan 2024 18:37:34 -0500 Subject: [PATCH] Update azure-pipelines.yml --- azure-pipelines.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3776e99..a4bd637 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -106,13 +106,13 @@ jobs: # Publish Module to Gallery - job: Publish - dependsOn: Build - condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/zvma-updates')) - pool: - vmImage: 'windows-latest' - steps: - - powershell: | - Install-Module -Name PowerShellGet -Force -Scope CurrentUser - $apiKey = "$(PowerShellGalleryApiKey)" - Publish-Module -Name 'ZertoApiWrapper' -NuGetApiKey $apiKey - displayName: 'Publish to PowerShell Gallery' + dependsOn: Build + condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/zvma-updates')) + pool: + vmImage: 'windows-latest' + steps: + - powershell: | + Install-Module -Name PowerShellGet -Force -Scope CurrentUser + $apiKey = "$(PowerShellGalleryApiKey)" + Publish-Module -Name 'ZertoApiWrapper' -NuGetApiKey $apiKey + displayName: 'Publish to PowerShell Gallery'