I think it's the same usage as it were a regular task. Did you encounter any issues?
Just to add, when I run the pipeline locally it works as well.
When I run as regular remote task it works. But when I run as a step in pipeline, it cannot access the same folder in my local machine.