Sampler InvokeBuild tasks for packaging and deploying PowerShell Universal modules.
Add the module to RequiredModules.psd1, then load its exported task aliases from build.yaml:
ModuleBuildTasks:
Sampler.PowerShellUniversalTasks:
- 'Task.*'The module provides tasks to:
- publish a packed module directly to a PowerShell Universal server;
- install a module from a PowerShell resource repository;
- package a module and its dependencies as an offline automation repository;
- deploy an offline automation repository package.
Configure the server under UniversalServer in build.yaml. Supply
UniversalServerAppToken through the build environment or a local secrets file;
do not commit tokens.