Looks like the third-party github action we we're using for winget publishing decided on a large rewrite in the time between the last release and 3.38. They don't published to tags so we can't pin to a working version.
I've raised
https://github.com/pulumi/pulumi-winget/pull/6 to revert back to our original publishing code, and we should then be able to trigger the 3.38.0 publishing.