mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-10 11:41:23 +00:00
Add descriptions for parameters
This commit is contained in:
@@ -1,6 +1,19 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Check and return list of new available tool versions
|
Check and return list of new available tool versions
|
||||||
|
|
||||||
|
.PARAMETER DistURL
|
||||||
|
Required parameter. Link to the json file included all available tool versions
|
||||||
|
.PARAMETER ManifestLink
|
||||||
|
Required parameter. Link to the the version-manifest.json file
|
||||||
|
.PARAMETER VersionFilterToInclude
|
||||||
|
Optional parameter. List of filters to include particular versions
|
||||||
|
.PARAMETER VersionFilterToExclude
|
||||||
|
Optional parameter. List of filters to exclude particular versions
|
||||||
|
.PARAMETER RetryIntervalSec
|
||||||
|
Optional parameter. Retry interval in seconds
|
||||||
|
.PARAMETER RetryCount
|
||||||
|
Optional parameter. Retry count
|
||||||
#>
|
#>
|
||||||
|
|
||||||
param (
|
param (
|
||||||
@@ -62,5 +75,5 @@ if ($versionsToBuild) {
|
|||||||
Write-Host "The following versions are available to build:`n$availableVersions"
|
Write-Host "The following versions are available to build:`n$availableVersions"
|
||||||
Write-Output "##vso[task.setvariable variable=TOOL_VERSIONS]$availableVersions"
|
Write-Output "##vso[task.setvariable variable=TOOL_VERSIONS]$availableVersions"
|
||||||
} else {
|
} else {
|
||||||
Write-Host "There isn't versions to build"
|
Write-Host "There aren't versions to build"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user