mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-18 15:56:47 +00:00
[Windows] Adding Swig (#3509)
This commit is contained in:
@@ -257,4 +257,10 @@ function Get-DacFxVersion {
|
||||
cd "C:\Program Files\Microsoft SQL Server\150\DAC\bin\"
|
||||
$dacfxversion = (./sqlpackage.exe /version)
|
||||
return "DacFx $dacfxversion"
|
||||
}
|
||||
}
|
||||
|
||||
function Get-SwigVersion {
|
||||
(swig -version | Out-String) -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
|
||||
$swigVersion = $Matches.Version
|
||||
return "Swig $swigVersion"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user