mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Change to use pwsh to have consistent JSON conversion for DateTime (#11126)
This commit is contained in:
1 parent
d46dfc26b7
commit
cf729c3407
1 file changed
+2
-2
@@ -4,7 +4,7 @@ parameters:
|
||||
CreateJson: 'no'
|
||||
|
||||
steps:
|
||||
- powershell: |
|
||||
- pwsh: |
|
||||
$createJson = ("${{ parameters.ReleaseTagVarName }}" -ne "no")
|
||||
$releaseTag = tools/releaseBuild/setReleaseTag.ps1 -ReleaseTag ${{ parameters.ReleaseTagVar }} -Variable "${{ parameters.ReleaseTagVarName }}" -CreateJson:$createJson
|
||||
$version = $releaseTag.Substring(1)
|
||||
@@ -18,7 +18,7 @@ steps:
|
||||
Write-Host "##$vstsCommandString"
|
||||
displayName: 'Set ${{ parameters.ReleaseTagVarName }} and other version Variables'
|
||||
|
||||
- powershell: |
|
||||
- pwsh: |
|
||||
Get-ChildItem -Path env:
|
||||
displayName: Capture environment
|
||||
condition: succeededOrFailed()
|
||||
Reference in new issue
Block a user