Ninja isn't documented as one of the tools provided by the CI runner images, but it used to be available implicitly installed before in the windows-2022 images. Since the 20230918.1.0 image update, it no longer is available out of the box; see https://github.com/actions/runner-images/issues/8343.