Left-click the new layer. Then Ctrl-Click the text
layer. Select> Modify> Expand, 1 or 2 pixels expands the
selection to just a bit larger than the text. Change the
Foreground Color to the color you want for the text border:
Edir> Fill> Foreground Color.