You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ To get started with your own GitHub PowerShell based action, [create a new repos
18
18
|`KeyVaultKeyReference`| Log in using a GitHub App, with the App's Client ID and KeyVault Key Reference. | false ||
19
19
|`Debug`| Enable debug output for the whole action. | false |`'false'`|
20
20
|`Verbose`| Enable verbose output for the whole action. | false |`'false'`|
21
-
|`Version`|Specifies the exact version of the GitHub module to install. | false ||
21
+
|`Version`|The version or NuGet version range of the module to install. | false ||
22
22
|`Prerelease`| Allow prerelease versions if available. | false |`'false'`|
23
23
|`ErrorView`| Configure the PowerShell `$ErrorView` variable. You can use full names ('NormalView', 'CategoryView', 'ConciseView', 'DetailedView'). It matches on partials. | false |`'NormalView'`|
24
24
|`ShowInfo`| Show information about the environment. | false |`'true'`|
@@ -28,6 +28,17 @@ To get started with your own GitHub PowerShell based action, [create a new repos
28
28
|`WorkingDirectory`| The working directory where the script runs. | false |`'.'`|
29
29
|`PreserveCredentials`| Preserve credentials after script execution. If false, disconnects GitHub contexts and CLI using Disconnect-GitHubAccount. | false |`'true'`|
30
30
31
+
> [!NOTE]
32
+
> The `Version` input accepts an exact version or a [NuGet version range](https://learn.microsoft.com/nuget/concepts/package-versioning#version-ranges), the same syntax used by [`Install-PSResource`](https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/install-psresource). A bare version such as `1.2.3` is treated as an *exact* version rather than a minimum, so pinning a single version keeps working unchanged. A version that is already installed and satisfies the request is reused instead of being reinstalled.
0 commit comments