Nexus Repository Retrieval for GitHub Actions

How can I download dependencies from Private Nexus Repository to GitHub Action workflow

I imagine you’d need to configure maven in Github Actions. This is really a question for Github though not Nexus.