Split responsibilities between Input and BuildParameters models

This commit is contained in:
Webber
2020-05-21 17:44:56 +02:00
committed by Webber Takken
parent 02ff5bbef2
commit 7e17091251
10 changed files with 329 additions and 131 deletions
+2 -3
View File
@@ -1,11 +1,10 @@
import * as core from '@actions/core';
import Input from './input';
import Unity from './unity';
import Action from './action';
class Project {
static get relativePath() {
// Todo - properly use Input for this.
const projectPath = core.getInput('projectPath') || '.';
const { projectPath } = Input;
return `${projectPath}`;
}