Store new artifacts in cache before setting context env var