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.

Configuration

OptionDescription
moduleModule name (required)
repositoryRepository to publish to. Default: PSGallery

Environment Variables

NameDescription
POWERSHELL_API_KEYPowerShell Gallery API key (required)
POWERSHELL_BINPath to PowerShell binary. Default: pwsh

Example

targets:
- name: powershell
module: Sentry

Notes