actions.build: added --rebuild option; do not rebuild by default

Why you do not using `unittest` helpers? I mean `assert*`s.