diff --git a/README.md b/README.md index 268dc04..631dc27 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ The Initialize-PSModule action will prepare the runner for the PSModule framewor | - | - | - | - | | `Debug` | Enable debug output. | `false` | `'false'` | | `Verbose` | Enable verbose output. | `false` | `'false'` | -| `Version` | Specifies the version of the GitHub module to be installed. The value must be an exact version. | `false` | | +| `Version` | 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)'). | `false` | | | `Prerelease` | Allow prerelease versions if available. | `false` | `'false'` | | `WorkingDirectory` | The working directory where the script runs. | `false` | `${{ github.workspace }}` | diff --git a/action.yml b/action.yml index 031f043..a8439cc 100644 --- a/action.yml +++ b/action.yml @@ -15,7 +15,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. @@ -30,7 +30,7 @@ runs: using: composite steps: - name: Initialize-PSModule - uses: PSModule/GitHub-Script@0097f3bbe3f413f3b577b9bcc600727b0ca3201a # v1.7.10 + uses: PSModule/GitHub-Script@8083ec1f733f00357ee4d0db0c6056686e483bc0 # v1.9.0 with: Debug: ${{ inputs.Debug }} Prerelease: ${{ inputs.Prerelease }}