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

@@ -14,7 +14,7 @@ const Input = {
getFromUser() {
// Input variables specified in workflow using "with" prop.
const rawUnityVersion = getInput('unityVersion') || 'auto';
const unityVersion = getInput('unityVersion') || 'auto';
const customImage = getInput('customImage') || '';
const rawProjectPath = getInput('projectPath') || '.';
const customParameters = getInput('customParameters') || '';
@@ -47,12 +47,12 @@ const Input = {
const projectPath = rawProjectPath.replace(/\/$/, '');
const artifactsPath = rawArtifactsPath.replace(/\/$/, '');
const useHostNetwork = rawUseHostNetwork === 'true';
const unityVersion =
rawUnityVersion === 'auto' ? UnityVersionParser.read(projectPath) : rawUnityVersion;
const editorVersion =
unityVersion === 'auto' ? UnityVersionParser.read(projectPath) : unityVersion;
// Return sanitised input
return {
unityVersion,
editorVersion,
customImage,
projectPath,
customParameters,