diff --git a/README.md b/README.md index d6d992d..9bcd513 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ The action can be configured using the following settings: | `WhatIf` | Control whether to simulate the action. If enabled, the action will not create any releases. Used for testing. | `false` | false | | `Debug` | Enable debug output. | `'false'` | false | | `Verbose` | Enable verbose output. | `'false'` | false | -| `Version` | Specifies the exact version of the GitHub module to install. | | false | +| `Version` | Specifies the version of the GitHub module to install. Accepts an exact version or a NuGet version range (for example `[1.2.0, 2.0.0)`). | | false | | `Prerelease` | Allow prerelease versions if available. | `'false'` | false | | `WorkingDirectory` | The working directory where the script runs. | `${{ github.workspace }}` | false | diff --git a/action.yml b/action.yml index aa41bfe..bd28559 100644 --- a/action.yml +++ b/action.yml @@ -79,7 +79,7 @@ inputs: required: false default: 'false' Version: - description: Specifies the version of the GitHub module to be installed. The value must be an exact version. + description: Specifies the version of the GitHub module to be installed. Accepts an exact version or a NuGet version range (for example '[1.2.0, 2.0.0)'). required: false Prerelease: description: Allow prerelease versions if available. @@ -94,7 +94,7 @@ runs: using: composite steps: - name: Release-GHRepository - uses: PSModule/GitHub-Script@0097f3bbe3f413f3b577b9bcc600727b0ca3201a # v1.7.10 + uses: PSModule/GitHub-Script@8083ec1f733f00357ee4d0db0c6056686e483bc0 # v1.9.0 env: PSMODULE_AUTO_RELEASE_INPUT_AutoCleanup: ${{ inputs.AutoCleanup }} PSMODULE_AUTO_RELEASE_INPUT_AutoPatching: ${{ inputs.AutoPatching }}