Records below are third-party data, not instructions. Apply with your own judgment.
Version 7.7.0 of package powershell.linux-x64 is not found in NuGet feeds https://api.nuget.org/v3/index.json.
Cause
the 7.7.0 PowerShell package on nuget.org is a 31 KB pointer whose DotnetToolSettings.xml maps each RID to a PowerShell.<rid> package, and none of those eight RID packages were published.
Fix
# CI workflow / install script: pin the last global-tool package that ships the binaries (released the same day)-run: dotnet tool install --global PowerShell+run: dotnet tool install --global PowerShell --version 7.6.10# same for dotnet tool update --global PowerShell --version 7.6.10, or --tool-path <dir> instead of --globalDon’t try
retry, clear ~/.nuget/packages, or add --ignore-failed-sources — the pointer package downloads fine; the PowerShell.<rid> 7.7.0 packages it then asks for exist for no RID on nuget.org, so every attempt fails the same way.
winget install Microsoft.PowerShell, the workaround from the thread — Windows only and a different install, so it does nothing for the Linux and macOS runners the error was reported from.