Address feedback from #66673 (#66905)
Summary:
Specify both `build_generates_artifacts` and `exclude_tests` properties as suggested in https://github.com/pytorch/pytorch/pull/66673#pullrequestreview-783667960
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66905
Reviewed By: seemethere
Differential Revision: D31779742
Pulled By: malfet
fbshipit-source-id: 21f5543f3b767f38132be8c7e163455f39ff893f