mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Add diagnostics to the install-powershell script
This commit is contained in:
@@ -10,6 +10,8 @@ echo Installing PowerShell...
|
|||||||
arch=$(get_arch)
|
arch=$(get_arch)
|
||||||
|
|
||||||
metadata_json_path=$(download_with_retry "https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/metadata.json")
|
metadata_json_path=$(download_with_retry "https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/metadata.json")
|
||||||
|
echo $metadata_json_path
|
||||||
|
cat $metadata_json_path
|
||||||
pwshVersionToolset=$(get_toolset_value '.pwsh.version')
|
pwshVersionToolset=$(get_toolset_value '.pwsh.version')
|
||||||
pwshVersions=$(jq -r '.LTSReleaseTag[]' $metadata_json_path)
|
pwshVersions=$(jq -r '.LTSReleaseTag[]' $metadata_json_path)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user