Issue: act will parse/evaluate arithmetic context expressions that github wont #526
Labels
area/workflow
Relating to workflow definitions
kind/bug
Something isn't working
needs-work
Extra attention is needed
stale-exempt
Exempt from stale
Milestone
Act version
Expected behaviour
The code below, which looks viable, is actually invalid. Run within the genuine github workflow context, it will result in invalid reference and not run the whole workflow file. I would expect act to output the same error for the same line.
Actual behaviour
Act will evaluate this expression to the value. This leads to workflows debugged/developed locally that will not run in github.
Workflow and/or repository
The step definition (minimal reproducible):
Steps to reproduce
Run the above in act (eg
act push
), it will run, and echo that calculated time.Commit to github (with the right on definition to function) and it will fail.
The text was updated successfully, but these errors were encountered: