mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
Cleanup old markdown documenation approach (#979)
This commit is contained in:
committed by
GitHub
parent
8c8f384a61
commit
43e26fa96b
@@ -17,18 +17,3 @@ else
|
||||
Write-Host "rustc is not on the path"
|
||||
exit 1
|
||||
}
|
||||
|
||||
$RustPath = Split-Path (Get-Command -Name 'rustc').Path
|
||||
$RustcVersion -Match "\d+\.\d+\.\d+" | Out-Null
|
||||
$Version = $Matches[0]
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "Rust (64-bit)"
|
||||
$Description = @"
|
||||
#### $Version
|
||||
_Environment:_
|
||||
* _Location:_ $RustPath
|
||||
* PATH: contains the location of rustc.exe
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
Reference in New Issue
Block a user