Skip to content

PowerShell

Uploads a module to PowerShell Gallery or another repository supported by PowerShellGet’s Publish-Module.

The action looks for an artifact named <module>.zip and extracts it to a temporary directory for publishing.

OptionDescription
moduleModule name (required)
repositoryRepository to publish to. Default: PSGallery
NameDescription
POWERSHELL_API_KEYPowerShell Gallery API key (required)
POWERSHELL_BINPath to PowerShell binary. Default: pwsh
targets:
- name: powershell
module: Sentry