feat: upgrade to images of version 1 (rolling tag) (#179)

* feat: upgrade to images of version 1 (rolling tag)

* fix: broken husky hook
This commit is contained in:
Webber Takken
2022-04-03 17:59:11 +02:00
committed by GitHub
parent 50a3bd4138
commit 67402dce6f
8 changed files with 1899 additions and 1872 deletions

View File

@@ -6,7 +6,7 @@ const Docker = {
async run(image, parameters, silent = false) {
const {
actionFolder,
unityVersion,
editorVersion,
workspace,
projectPath,
customParameters,
@@ -16,12 +16,12 @@ const Docker = {
sshAgent,
gitPrivateToken,
githubToken,
runnerTempPath,
runnerTemporaryPath,
} = parameters;
const githubHome = path.join(runnerTempPath, '_github_home');
const githubHome = path.join(runnerTemporaryPath, '_github_home');
if (!existsSync(githubHome)) mkdirSync(githubHome);
const githubWorkflow = path.join(runnerTempPath, '_github_workflow');
const githubWorkflow = path.join(runnerTemporaryPath, '_github_workflow');
if (!existsSync(githubWorkflow)) mkdirSync(githubWorkflow);
const command = `docker run \
@@ -32,7 +32,7 @@ const Docker = {
--env UNITY_EMAIL \
--env UNITY_PASSWORD \
--env UNITY_SERIAL \
--env UNITY_VERSION="${unityVersion}" \
--env UNITY_VERSION="${editorVersion}" \
--env PROJECT_PATH="${projectPath}" \
--env CUSTOM_PARAMETERS="${customParameters}" \
--env TEST_MODE="${testMode}" \