Closed z2oh closed 1 month ago
The package source was added to support the Azure runners, but an alternate source is already available on the GitHub runners which caused a package lookup collision.
Example failure: https://github.com/thebrowsercompany/swift-build/actions/runs/9574916361/job/26400987045
This change only registers the package source if the default one on GitHub runners is not available (api.nuget.org).
api.nuget.org
Thanks @kendalharland for pairing on this with me.
Tested here: https://github.com/thebrowsercompany/swift-build/actions/runs/9653985604/job/26629855137
All looks good! :shipit:
The package source was added to support the Azure runners, but an alternate source is already available on the GitHub runners which caused a package lookup collision.
Example failure: https://github.com/thebrowsercompany/swift-build/actions/runs/9574916361/job/26400987045
This change only registers the package source if the default one on GitHub runners is not available (
api.nuget.org
).Thanks @kendalharland for pairing on this with me.