Skip to content

Commit

Permalink
add quotes to powershell args (#23387)
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Hallisey <[email protected]>
  • Loading branch information
azure-sdk and hallipr authored Aug 30, 2024
1 parent 3e1a752 commit 4bf35a7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ steps:
inputs:
filePath: ${{ parameters.ScriptDirectory }}/Save-Package-Properties.ps1
arguments: >
-PrDiff ${{ parameters.DiffDirectory }}/diff.json
-OutDirectory ${{ parameters.PackageInfoDirectory }}
-PrDiff '${{ parameters.DiffDirectory }}/diff.json'
-OutDirectory '${{ parameters.PackageInfoDirectory }}'
pwsh: true
- ${{ else }}:
- task: Powershell@2
displayName: Save package properties
inputs:
filePath: ${{ parameters.ScriptDirectory }}/Save-Package-Properties.ps1
arguments: >
-ServiceDirectory ${{parameters.ServiceDirectory}}
-OutDirectory ${{ parameters.PackageInfoDirectory }}
-ServiceDirectory '${{parameters.ServiceDirectory}}'
-OutDirectory '${{ parameters.PackageInfoDirectory }}'
-AddDevVersion:$${{ eq(variables['SetDevVersion'],'true') }}
pwsh: true

0 comments on commit 4bf35a7

Please sign in to comment.