creates a cache dir
adds publish build settings