Implement `build` and `clean` actions.