parse_env_file discard utf8 bom (#2638)
* parse_env_file discard utf8 bom * powershell 5 may add the BOM even when explicitly using utf8 * add test + apply to GITHUB_PATH as well * fix it * fix powershel 5 syntax * misc * fixup * fix wrong subaction --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
@@ -429,6 +429,8 @@ func TestRunEventHostEnvironment(t *testing.T) {
|
||||
tables = append(tables, []TestJobFileInfo{
|
||||
{workdir, "windows-prepend-path", "push", "", platforms, secrets},
|
||||
{workdir, "windows-add-env", "push", "", platforms, secrets},
|
||||
{workdir, "windows-prepend-path-powershell-5", "push", "", platforms, secrets},
|
||||
{workdir, "windows-add-env-powershell-5", "push", "", platforms, secrets},
|
||||
{workdir, "windows-shell-cmd", "push", "", platforms, secrets},
|
||||
}...)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user