Skip to content

Commit 63b258a

Browse files
author
Anam Navied
committed
Merged PR 38901: Remove isOutput on variable being set and update publishPath var reference
Remove isOutput on variable being set and update publishPath var reference ---- #### AI description (iteration 1) #### PR Classification This pull request is a pipeline fix and code cleanup, adjusting variable setting and reference for improved consistency. #### PR Summary The changes remove the "isOutput=true" flag when setting the "publishPath" variable and update the file copy step to correctly reference the "publishPath". - `/.pipelines/PSResourceGet-Official.yml`: Removed the "isOutput=true" from the variable setting command. - `/.pipelines/PSResourceGet-Official.yml`: Updated the file copy task to use `publishPath` instead of `signOutPath` for selecting the published package. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
1 parent 7095763 commit 63b258a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pipelines/PSResourceGet-Official.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ extends:
240240
241241
Register-PSResourceRepository -Name 'localRepo' -Uri $publishPath
242242
Publish-PSResource -Path "$(signOutPath)\Microsoft.PowerShell.PSResourceGet" -Repository 'localRepo' -Verbose
243-
Write-Output "##vso[task.setvariable variable=publishPath;isOutput=true]$publishPath"
243+
Write-Output "##vso[task.setvariable variable=publishPath]$publishPath"
244244
displayName: Create nupkg for publishing
245245
246246
- pwsh: |
@@ -266,7 +266,7 @@ extends:
266266
- task: CopyFiles@2
267267
displayName: "Copy nupkg to ob_outputDirectory - '$(ob_outputDirectory)'"
268268
inputs:
269-
Contents: $(signOutPath)\PublishedNupkg\Microsoft.PowerShell.PSResourceGet.*.nupkg
269+
Contents: $(publishPath)\Microsoft.PowerShell.PSResourceGet.*.nupkg
270270
TargetFolder: $(ob_outputDirectory)
271271

272272
- pwsh: |

0 commit comments

Comments
 (0)