Fix versioning for push event.

This commit is contained in:
Webber
2020-05-01 13:57:42 +02:00
committed by Webber Takken
parent 40564afbaf
commit d01e844eea
6 changed files with 76 additions and 10 deletions

View File

@@ -1,10 +1,11 @@
import * as core from '@actions/core';
import Unity from './unity';
import Input from './input';
import Action from './action';
class Project {
static get relativePath() {
const projectPath = Input.getFromUser().then(result => result.projectPath);
// Todo - properly use Input for this.
const projectPath = core.getInput('projectPath') || '.';
return `${projectPath}`;
}