Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.32k stars 1.97k forks source link

Fix the version scanner working directory #40788

Closed JimSuplizio closed 3 months ago

JimSuplizio commented 3 months ago

The big problem here is that the version scanner now reads the yml files to figure out what builds in a given sdk/ServiceDirectory but, the yml files were never added to the sparse-checkout. Thankfully, outside of the library that surfaced this issue, there are no issues in the repository.

I've added code to the script to fail and report an error if it can't find any ci.yml files as well as some additional diagnostics when verbose logging is turned on.

JimSuplizio commented 3 months ago

Some suggestions, LGTM either way.

Yes, I took all of the suggestions.