Pass LANG=C.UTF-8
to environment (#1476)
* fix: pass LANG=C.UTF-8 to environment Fixes: #1308 * fix: pass LANG=C.UTF-8 to environment in container only Fixes: #1308 Signed-off-by: Brice Dutheil <brice.dutheil@gmail.com> Signed-off-by: Brice Dutheil <brice.dutheil@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
7754ba7fcf
commit
1797775be3
1 changed files with 1 additions and 0 deletions
|
@ -225,6 +225,7 @@ func (rc *RunContext) startJobContainer() common.Executor {
|
|||
envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_OS", "Linux"))
|
||||
envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_ARCH", container.RunnerArch(ctx)))
|
||||
envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_TEMP", "/tmp"))
|
||||
envList = append(envList, fmt.Sprintf("%s=%s", "LANG", "C.UTF-8")) // Use same locale as GitHub Actions
|
||||
|
||||
ext := container.LinuxContainerEnvironmentExtensions{}
|
||||
binds, mounts := rc.GetBindsAndMounts()
|
||||
|
|
Loading…
Reference in a new issue