mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-10 08:19:08 +08:00
new line GitHub env improvements
This commit is contained in:
parent
d767c9b2e9
commit
9151fb3469
2
.github/workflows/vendor.yml
vendored
2
.github/workflows/vendor.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
||||
}
|
||||
}
|
||||
Set-GHVariable -Name LIST_UPDATED -Value $listUpdated.Trim(', ')
|
||||
Set-GHVariable -Name UPDATE_MESSAGE -Value $updateMessage.Replace("%", "%25").Replace("`r", "%0D").Replace("`n", "%0A")
|
||||
Set-GHVariable -Name UPDATE_MESSAGE -Value $updateMessage
|
||||
|
||||
- uses: peter-evans/create-pull-request@v4
|
||||
with:
|
||||
|
@ -78,7 +78,7 @@ function Set-GHVariable {
|
||||
Write-Verbose "Setting CI variable $Name to $Value" -Verbose
|
||||
|
||||
if ($env:GITHUB_ENV) {
|
||||
"$Name=$Value" | Out-File $env:GITHUB_ENV -Append
|
||||
echo "$Name=$Value" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user