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