export environment variables to github actions

Co-authored-by: rlittlesii <6969701+RLittlesII@users.noreply.github.com>
This commit is contained in:
David Driscoll
2020-04-02 22:55:08 -04:00
committed by Artur Stolear
parent 706774a012
commit 30b450f49e

View File

@@ -168,6 +168,7 @@ class BuildAgent implements IBuildAgent {
public setOutput(name: string, value: string): void {
core.setOutput(name, value)
core.exportVariable(`GITVERSION_${name.toUpperCase()}`, value)
}
public getInput(input: string, required?: boolean): string {