mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 07:46:57 +00:00
Update task documentation logic.
This commit is contained in:
@@ -245,13 +245,13 @@ the
|
|||||||
- alpine:3.7 (Digest: sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10)
|
- alpine:3.7 (Digest: sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10)
|
||||||
- alpine:3.8 (Digest: sha256:04696b491e0cc3c58a75bace8941c14c924b9f313b03ce5029ebbc040ed9dcd9)
|
- alpine:3.8 (Digest: sha256:04696b491e0cc3c58a75bace8941c14c924b9f313b03ce5029ebbc040ed9dcd9)
|
||||||
- mcr.microsoft.com/azure-pipelines/node8-typescript:latest (Digest: sha256:e52e60b9f71183969830a3664279b5d8c799b4b0ec2c25a0686f7c02f6a9669a)
|
- mcr.microsoft.com/azure-pipelines/node8-typescript:latest (Digest: sha256:e52e60b9f71183969830a3664279b5d8c799b4b0ec2c25a0686f7c02f6a9669a)
|
||||||
- Python (available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task)
|
- Python:
|
||||||
- Python 2.7.16
|
- Python 2.7.16
|
||||||
- Python 3.5.7
|
- Python 3.5.7
|
||||||
- Python 3.6.9
|
- Python 3.6.9
|
||||||
- Python 3.7.5
|
- Python 3.7.5
|
||||||
- Python 3.8.0
|
- Python 3.8.0
|
||||||
- Ruby (available through the [Use Ruby Version](https://go.microsoft.com/fwlink/?linkid=2005989) task)
|
- Ruby:
|
||||||
- Ruby 2.4.6
|
- Ruby 2.4.6
|
||||||
- Ruby 2.5.5
|
- Ruby 2.5.5
|
||||||
- Ruby 2.6.3
|
- Ruby 2.6.3
|
||||||
|
|||||||
@@ -237,13 +237,13 @@ the
|
|||||||
- alpine:3.7 (Digest: sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10)
|
- alpine:3.7 (Digest: sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10)
|
||||||
- alpine:3.8 (Digest: sha256:04696b491e0cc3c58a75bace8941c14c924b9f313b03ce5029ebbc040ed9dcd9)
|
- alpine:3.8 (Digest: sha256:04696b491e0cc3c58a75bace8941c14c924b9f313b03ce5029ebbc040ed9dcd9)
|
||||||
- mcr.microsoft.com/azure-pipelines/node8-typescript:latest (Digest: sha256:e52e60b9f71183969830a3664279b5d8c799b4b0ec2c25a0686f7c02f6a9669a)
|
- mcr.microsoft.com/azure-pipelines/node8-typescript:latest (Digest: sha256:e52e60b9f71183969830a3664279b5d8c799b4b0ec2c25a0686f7c02f6a9669a)
|
||||||
- Python (available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task)
|
- Python:
|
||||||
- Python 2.7.16
|
- Python 2.7.16
|
||||||
- Python 3.5.7
|
- Python 3.5.7
|
||||||
- Python 3.6.9
|
- Python 3.6.9
|
||||||
- Python 3.7.5
|
- Python 3.7.5
|
||||||
- Python 3.8.0
|
- Python 3.8.0
|
||||||
- Ruby (available through the [Use Ruby Version](https://go.microsoft.com/fwlink/?linkid=2005989) task)
|
- Ruby:
|
||||||
- Ruby 2.4.6
|
- Ruby 2.4.6
|
||||||
- Ruby 2.5.5
|
- Ruby 2.5.5
|
||||||
- Ruby 2.6.3
|
- Ruby 2.6.3
|
||||||
|
|||||||
@@ -27,13 +27,13 @@ for setup in $setups; do
|
|||||||
cd $original_directory;
|
cd $original_directory;
|
||||||
done;
|
done;
|
||||||
|
|
||||||
DocumentInstalledItem "Python (available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task)"
|
DocumentInstalledItem "Python:"
|
||||||
pythons=$(ls $AGENT_TOOLSDIRECTORY/Python)
|
pythons=$(ls $AGENT_TOOLSDIRECTORY/Python)
|
||||||
for python in $pythons; do
|
for python in $pythons; do
|
||||||
DocumentInstalledItemIndent "Python $python"
|
DocumentInstalledItemIndent "Python $python"
|
||||||
done;
|
done;
|
||||||
|
|
||||||
DocumentInstalledItem "Ruby (available through the [Use Ruby Version](https://go.microsoft.com/fwlink/?linkid=2005989) task)"
|
DocumentInstalledItem "Ruby:"
|
||||||
rubys=$(ls $AGENT_TOOLSDIRECTORY/Ruby)
|
rubys=$(ls $AGENT_TOOLSDIRECTORY/Ruby)
|
||||||
for ruby in $rubys; do
|
for ruby in $rubys; do
|
||||||
DocumentInstalledItemIndent "Ruby $ruby"
|
DocumentInstalledItemIndent "Ruby $ruby"
|
||||||
|
|||||||
@@ -27,13 +27,13 @@ for setup in $setups; do
|
|||||||
cd $original_directory;
|
cd $original_directory;
|
||||||
done;
|
done;
|
||||||
|
|
||||||
DocumentInstalledItem "Python (available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task)"
|
DocumentInstalledItem "Python:"
|
||||||
pythons=$(ls $AGENT_TOOLSDIRECTORY/Python)
|
pythons=$(ls $AGENT_TOOLSDIRECTORY/Python)
|
||||||
for python in $pythons; do
|
for python in $pythons; do
|
||||||
DocumentInstalledItemIndent "Python $python"
|
DocumentInstalledItemIndent "Python $python"
|
||||||
done;
|
done;
|
||||||
|
|
||||||
DocumentInstalledItem "Ruby (available through the [Use Ruby Version](https://go.microsoft.com/fwlink/?linkid=2005989) task)"
|
DocumentInstalledItem "Ruby:"
|
||||||
rubys=$(ls $AGENT_TOOLSDIRECTORY/Ruby)
|
rubys=$(ls $AGENT_TOOLSDIRECTORY/Ruby)
|
||||||
for ruby in $rubys; do
|
for ruby in $rubys; do
|
||||||
DocumentInstalledItemIndent "Ruby $ruby"
|
DocumentInstalledItemIndent "Ruby $ruby"
|
||||||
|
|||||||
@@ -343,17 +343,14 @@ _Version:_ azure-devops 0.13.0
|
|||||||
## Python
|
## Python
|
||||||
|
|
||||||
_Version:_ 2.7.16 (x64)<br/>_Version:_ 2.7.16 (x86)<br/>_Version:_ 3.4.4 (x64)<br/>_Version:_ 3.4.4 (x86)<br/>_Version:_ 3.5.4 (x64)<br/>_Version:_ 3.5.4 (x86)<br/>_Version:_ 3.6.8 (x64)<br/>_Version:_ 3.6.8 (x86)<br/>_Version:_ 3.7.4 (x64)<br/>_Version:_ 3.7.4 (x86)<br/><br/>
|
_Version:_ 2.7.16 (x64)<br/>_Version:_ 2.7.16 (x86)<br/>_Version:_ 3.4.4 (x64)<br/>_Version:_ 3.4.4 (x86)<br/>_Version:_ 3.5.4 (x64)<br/>_Version:_ 3.5.4 (x86)<br/>_Version:_ 3.6.8 (x64)<br/>_Version:_ 3.6.8 (x86)<br/>_Version:_ 3.7.4 (x64)<br/>_Version:_ 3.7.4 (x86)<br/><br/>
|
||||||
> Note: These versions of Python are available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task.
|
|
||||||
|
|
||||||
## PyPy
|
## PyPy
|
||||||
|
|
||||||
_Version:_ 2.7.13 (x86)<br/>_Version:_ 3.5.3 (x86)<br/><br/>
|
_Version:_ 2.7.13 (x86)<br/>_Version:_ 3.5.3 (x86)<br/><br/>
|
||||||
> Note: These versions of PyPy are available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task.
|
|
||||||
|
|
||||||
## Ruby
|
## Ruby
|
||||||
|
|
||||||
_Version:_ 2.4.6 (x64)<br/>_Version:_ 2.5.5 (x64)<br/>_Version:_ 2.6.3 (x64)<br/><br/>
|
_Version:_ 2.4.6 (x64)<br/>_Version:_ 2.5.5 (x64)<br/>_Version:_ 2.6.3 (x64)<br/><br/>
|
||||||
> Note: These versions of Ruby are available through the [Use Ruby Version](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/use-ruby-version) task.
|
|
||||||
|
|
||||||
## Python (64 bit)
|
## Python (64 bit)
|
||||||
|
|
||||||
|
|||||||
@@ -17,9 +17,7 @@ function ToolcacheTest {
|
|||||||
[Parameter(Mandatory = $True)]
|
[Parameter(Mandatory = $True)]
|
||||||
[string]$SoftwareName,
|
[string]$SoftwareName,
|
||||||
[Parameter(Mandatory = $True)]
|
[Parameter(Mandatory = $True)]
|
||||||
[string[]]$ExecTests,
|
[string[]]$ExecTests
|
||||||
[Parameter(Mandatory = $True)]
|
|
||||||
[string]$Note
|
|
||||||
)
|
)
|
||||||
if (Test-Path "$env:AGENT_TOOLSDIRECTORY\$SoftwareName")
|
if (Test-Path "$env:AGENT_TOOLSDIRECTORY\$SoftwareName")
|
||||||
{
|
{
|
||||||
@@ -53,7 +51,6 @@ function ToolcacheTest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$description += $Note
|
|
||||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $description
|
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $description
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -70,25 +67,13 @@ function ToolcacheTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Python test
|
# Python test
|
||||||
$PythonNote += @"
|
|
||||||
<br/>
|
|
||||||
> Note: These versions of Python are available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task.
|
|
||||||
"@
|
|
||||||
$PythonTests = @("python.exe", "Scripts\pip.exe")
|
$PythonTests = @("python.exe", "Scripts\pip.exe")
|
||||||
ToolcacheTest -SoftwareName "Python" -ExecTests $PythonTests -Note $PythonNote
|
ToolcacheTest -SoftwareName "Python" -ExecTests $PythonTests
|
||||||
|
|
||||||
# PyPy test
|
# PyPy test
|
||||||
$PyPyNote += @"
|
|
||||||
<br/>
|
|
||||||
> Note: These versions of PyPy are available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task.
|
|
||||||
"@
|
|
||||||
$PyPyTests = @("python.exe", "bin\pip.exe")
|
$PyPyTests = @("python.exe", "bin\pip.exe")
|
||||||
ToolcacheTest -SoftwareName "PyPy" -ExecTests $PyPyTests -Note $PyPyNote
|
ToolcacheTest -SoftwareName "PyPy" -ExecTests $PyPyTests
|
||||||
|
|
||||||
# Ruby test
|
# Ruby test
|
||||||
$RubyNote += @"
|
|
||||||
<br/>
|
|
||||||
> Note: These versions of Ruby are available through the [Use Ruby Version](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/use-ruby-version) task.
|
|
||||||
"@
|
|
||||||
$RubyTests = @("bin\ruby.exe")
|
$RubyTests = @("bin\ruby.exe")
|
||||||
ToolcacheTest -SoftwareName "Ruby" -ExecTests $RubyTests -Note $RubyNote
|
ToolcacheTest -SoftwareName "Ruby" -ExecTests $RubyTests
|
||||||
|
|||||||
Reference in New Issue
Block a user