Update parts of repo (#476)
* Update flags in README * Add secrets and `.env` files examples * Fix typo: environment * Fix typo: returned * Add --version back, since I've built act without ldflags
This commit is contained in:
@@ -296,7 +296,7 @@ func (rc *RunContext) EvalBool(expr string) (bool, error) {
|
||||
interpolatedPart, isString := rc.ExprEval.InterpolateWithStringCheck(part)
|
||||
|
||||
// This peculiar transformation has to be done because the Github parser
|
||||
// treats false retured from contexts as a string, not a boolean.
|
||||
// treats false returned from contexts as a string, not a boolean.
|
||||
// Hence env.SOMETHING will be evaluated to true in an if: expression
|
||||
// regardless if SOMETHING is set to false, true or any other string.
|
||||
// It also handles some other weirdness that I found by trial and error.
|
||||
|
Reference in New Issue
Block a user