mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
[Ubuntu] fix software report for mysql (#4699)
This commit is contained in:
@@ -17,6 +17,9 @@ function Get-SqliteVersion {
|
||||
|
||||
function Get-MySQLVersion {
|
||||
$mySQLVersion = mysqld --version | Take-OutputPart -Part 2
|
||||
if (-not (Test-IsUbuntu20)) {
|
||||
$mySQLVersion = $mySQLVersion | Take-OutputPart -Part 0 -Delimiter "-"
|
||||
}
|
||||
return "MySQL $mySQLVersion"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user