Download Remote File in GitHub Actions

Is it possible to download a file (any extension) from a remote URL into the workspace (say Windows) through GitHub Actions? If yes, please help with some example.

In PowerShell you may use Invoke-Webrequest or one of its aliases:

On Linux you would typically use wget or curl.