mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-02-05 00:39:06 +08:00
Fix versioning for push event.
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user