Working GitHub Actions workflow to build *-pc-windows-gnu targets?

Does anyone have knowledge of a way to build a "{i686,x86_64}-pc-windows-gnu" target for GitHub Actions workflow?

I've build a rather complete workflow for lsd that includes a large number of platforms (using cross as needed), but I'm running into link errors when trying to build the "gnu" targets for windows (see example errors in GHA:run#328269966 and GHA:run#328269980).

I've been unable to find any working example despite extensive google-fu.

Thanks for the look.

You are using the msvc toolchain and the gnu target. This is known to cause problems. Use the gnu toolchain.

Excellent! Thank you!
That tip helped me work it out.