A slightly awkward solution was posted here.   That workflow's written in Go, but it's the same problem (alfsubl is the name of the executable in that workflow; change as appropriate).