Make envs available in if conditionals (#225)

* Ignore .idea

* Add Env to the RunContext vm so we can Evaluate and Interpolate `env.xx`

* Make EvalBool support expressions more in line with the github runner

* Turns out Boolean(value) is what github is doing after all

* Add test for github context as well
This commit is contained in:
Torbjørn Vatn
2020-05-04 21:18:13 +02:00
committed by GitHub
parent 6d6ea7ac04
commit a149cf8ca2
5 changed files with 155 additions and 18 deletions

1
.gitignore vendored
View File

@@ -16,3 +16,4 @@ dist/
*.nupkg
.vscode/
.idea/