mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 20:26:49 +00:00
* Add Configure-Toolset for windows * Set error action preference to stop * Move toolcache.json to config folder * Fix in verbose * Rename toolsets folder * Move default version functions from install-toolset to configure-toolset * Rework Configure-Toolset * Fix typo and remove empty line * Fix issues * Fix parameters in helpers * Fix helper syntax * Rename defaultVariable
32 lines
703 B
PowerShell
32 lines
703 B
PowerShell
[CmdletBinding()]
|
|
param()
|
|
|
|
. $PSScriptRoot\PathHelpers.ps1
|
|
. $PSScriptRoot\InstallHelpers.ps1
|
|
. $PSScriptRoot\ChocoHelpers.ps1
|
|
|
|
Export-ModuleMember -Function @(
|
|
'Test-MachinePath'
|
|
'Get-MachinePath'
|
|
'Set-MachinePath'
|
|
'Add-MachinePathItem'
|
|
'Get-SystemVariable'
|
|
'Set-SystemVariable'
|
|
'Install-Binary'
|
|
'Install-VisualStudio'
|
|
'Get-ToolcachePackages'
|
|
'Get-ToolsetContent'
|
|
'Get-ToolsetToolFullPath'
|
|
'Get-ToolsByName'
|
|
'Stop-SvcWithErrHandling'
|
|
'Set-SvcWithErrHandling'
|
|
'Start-DownloadWithRetry'
|
|
'Install-VsixExtension'
|
|
'Get-VSExtensionVersion'
|
|
'Get-WinVersion'
|
|
'Test-IsWin19'
|
|
'Test-IsWin16'
|
|
'Choco-Install'
|
|
'Extract-7Zip'
|
|
)
|