mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
resolve issue with getting dotnet versions
This commit is contained in:
@@ -19,7 +19,7 @@ chmod +x ./dotnet-install.sh
|
|||||||
ARGS_LIST=()
|
ARGS_LIST=()
|
||||||
echo "Parsing dotnet SDK (except rc and preview versions) from .json..."
|
echo "Parsing dotnet SDK (except rc and preview versions) from .json..."
|
||||||
|
|
||||||
DOTNET_VERSIONS=$(get_toolset_value '.dotnet.versions[]')
|
DOTNET_VERSIONS=($(get_toolset_value '.dotnet.versions | .[]'))
|
||||||
|
|
||||||
for DOTNET_VERSION in "${DOTNET_VERSIONS[@]}"; do
|
for DOTNET_VERSION in "${DOTNET_VERSIONS[@]}"; do
|
||||||
RELEASE_URL="https://raw.githubusercontent.com/dotnet/core/master/release-notes/${DOTNET_VERSION}/releases.json"
|
RELEASE_URL="https://raw.githubusercontent.com/dotnet/core/master/release-notes/${DOTNET_VERSION}/releases.json"
|
||||||
|
|||||||
Reference in New Issue
Block a user