mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-11-28 16:18:06 -08:00
feat: add runAsHostUserReuseExisting input (#870)
Forwards a new opt-in input to game-ci/cli's --runAsHostUserReuseExisting (game-ci/cli#330). With runAsHostUser, it reuses a group/user the image already has at the host GID/UID instead of failing to create it - e.g. the ubuntu user/group at 1000 in Ubuntu 24.04 based unityci/editor v4 images. The flag is only passed when the input is true, so existing workflows send the CLI exactly the same arguments. Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
107e018f9d
commit
188fd69ab7
@@ -139,6 +139,13 @@ inputs:
|
||||
description:
|
||||
'Whether to run as a user that matches the host system or the default root container user. Only applicable to
|
||||
Linux hosts and containers. This is useful for fixing permission errors on Self-Hosted runners.'
|
||||
runAsHostUserReuseExisting:
|
||||
required: false
|
||||
default: 'false'
|
||||
description:
|
||||
"With runAsHostUser, reuse a group or user the image already has at the host GID/UID instead of failing to
|
||||
create it - e.g. the ubuntu user/group at 1000 in Ubuntu 24.04 based images (unityci/editor v4), which is the
|
||||
usual UID/GID of a self-hosted runner's account. Requires a game-ci/cli release that supports it."
|
||||
chownFilesTo:
|
||||
required: false
|
||||
default: ''
|
||||
|
||||
Reference in New Issue
Block a user