UV for Extrude Geometry

When using Extrude Geometry I’d like the UV to set the sidewalls with the texture rotated through 90degs. Like this.


I’ve tried every option for generateSideWallUV but I either get the vertical result in the picture or stretching a single row from the texture across the width.
Are the vertices in the side walls shared? In which case I’m probably writing over existing values or is there a route that could work?