mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-20 11:56:47 +08:00
Parse env file discard utf8 bom (#38)
* powershell 5 may add the BOM even when explicitly using utf8 * add test + apply to GITHUB_PATH as well
This commit is contained in:
@@ -456,6 +456,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