Skip to content

Github package registry authentication #25404

Answered by clarkbw
nkve asked this question in Actions
Discussion options

You must be logged in to vote

I’m not sure what that error is exactly. For the server config we recommend using env variables as seen in setup-java. Where the password is a PAT and the username is your github username.

<servers>
    <server>
      <id>github</id>
      <username>${env.GITHUB_ACTOR}</username>
      <password>${env.GITHUB_TOKEN}</password>
    </server>
</servers>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants