added buildAgent.getSourceDir

This commit is contained in:
Artur Stolear
2019-11-22 16:34:02 +02:00
parent 97e28c979f
commit c6860ee6ba
6 changed files with 38 additions and 8 deletions

View File

@@ -99,6 +99,10 @@ class BuildAgent implements IBuildAgent {
};
}
public getSourceDir(): string {
return this.getVariable("GITHUB_WORKSPACE");
}
public getInput(input: string, required?: boolean): string {
return core.getInput(input, { required } as core.InputOptions);
}