Patent it first and then mention it.
Doesn’t work that way. If you work for the government they own patents that come from the work you did for the government.