psmodule/Publish-PSModule

Publish a pre-versioned PowerShell module artifact to the PowerShell Gallery and GitHub Releases.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
NameName of the module to publish.no
ModulePathPath to the folder containing the <Name>/ module subdirectory from Build-PSModule. A module artifact must exist before invoking this action.nooutputs/module
APIKeyPowerShell Gallery API Key.yes
AutoCleanupControl whether to automatically delete the prerelease tags after the stable release is created.notrue
WhatIfIf specified, the action will only log the changes it would make, but will not actually create or delete any releases or tags.nofalse
WorkingDirectoryThe working directory where the script will run from.no.
UsePRTitleAsReleaseNameWhen enabled, uses the pull request title as the name for the GitHub release. If not set, the version string is used.nofalse
UsePRBodyAsReleaseNotesWhen enabled, uses the pull request body as the release notes for the GitHub release. If not set, the release notes are auto-generated.notrue
UsePRTitleAsNotesHeadingWhen enabled along with UsePRBodyAsReleaseNotes, the release notes will begin with the pull request title as a H1 heading followed by the pull request body. The title will reference the pull request number.notrue
ArtifactNameName of the uploaded artifact to download. Must match the name used in the upstream upload-artifact step.nomodule

no outputs