mirror of https://code.forgejo.org/forgejo/act
![]() This PR is a carryover from [upstream](https://github.com/nektos/act/pull/2422): > github actions reports RUNNER_OS for linux and windows with [capital letters](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/variables#default-environment-variables) (Linux, Windows). This should increase compatibility when runner uses `-self-hosted` > > Currently, when workflows are run within containers, RUNNER_OS is [hardcoded](https://code.forgejo.org/forgejo/act/search/branch/main?path=&q=RUNNER_OS&mode=exact) to `Linux` correctly, so this will make RUNNER_OS more consistent. Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/106 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org> Co-authored-by: benniekiss <benniekiss@noreply.code.forgejo.org> Co-committed-by: benniekiss <benniekiss@noreply.code.forgejo.org> |
||
---|---|---|
.. | ||
testdata | ||
DOCKER_LICENSE | ||
container_types.go | ||
docker_auth.go | ||
docker_build.go | ||
docker_cli.go | ||
docker_cli_test.go | ||
docker_images.go | ||
docker_images_test.go | ||
docker_logger.go | ||
docker_network.go | ||
docker_pull.go | ||
docker_pull_test.go | ||
docker_run.go | ||
docker_run_test.go | ||
docker_stub.go | ||
docker_volume.go | ||
executions_environment.go | ||
host_environment.go | ||
host_environment_test.go | ||
linux_container_environment_extensions.go | ||
linux_container_environment_extensions_test.go | ||
parse_env_file.go | ||
util.go | ||
util_openbsd_mips64.go | ||
util_plan9.go | ||
util_windows.go |