mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 00:06:57 +00:00
Merge pull request #1200 from dmitry-shibanov/v-dmshib/cargo-dep-win
Add cargo packages for windows
This commit is contained in:
@@ -37,6 +37,22 @@ function Get-RustVersion {
|
||||
return "Rust ${rustVersion}"
|
||||
}
|
||||
|
||||
function Get-BindgenVersion {
|
||||
return bindgen --version
|
||||
}
|
||||
|
||||
function Get-CbindgenVersion {
|
||||
return cbindgen --version
|
||||
}
|
||||
|
||||
function Get-CargoAuditVersion {
|
||||
return cargo audit --version
|
||||
}
|
||||
|
||||
function Get-CargoOutdatedVersion {
|
||||
return cargo outdated --version
|
||||
}
|
||||
|
||||
function Get-PythonVersion {
|
||||
return & python --version
|
||||
}
|
||||
|
||||
@@ -112,6 +112,14 @@ $markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-GoogleCloudSDKVersion)
|
||||
)
|
||||
|
||||
$markdown += New-MDHeader "Rust packages:" -Level 3
|
||||
$markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-BindgenVersion),
|
||||
(Get-CbindgenVersion),
|
||||
(Get-CargoAuditVersion),
|
||||
(Get-CargoOutdatedVersion)
|
||||
)
|
||||
|
||||
$markdown += New-MDHeader "Browsers and webdrivers" -Level 3
|
||||
$markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-BrowserVersion -Browser "chrome"),
|
||||
|
||||
Reference in New Issue
Block a user