As long as it’s deterministic it should be fine. Run the commands in a makefile. Doesn’t sound like the case.