[Compiler] Added missing definition of publish task