just use `@set-output-type` instead of rewriting the switch.