Fix file ownership issues for self-hosted runners. (#141)

This commit is contained in:
xanantis
2020-08-22 21:28:57 +02:00
committed by GitHub
parent 92cfb31622
commit 24e9c186fd
5 changed files with 30 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
import os from 'os';
import AndroidVersioning from './android-versioning';
import Input from './input';
import Platform from './platform';
@@ -20,8 +21,12 @@ class BuildParameters {
Input.androidVersionCode,
);
const { uid, gid } = os.userInfo();
return {
version: Input.unityVersion,
uid,
gid,
runnerTempPath: process.env.RUNNER_TEMP,
platform: Input.targetPlatform,
projectPath: Input.projectPath,