Skip to content

Works locally, but on Github Actions: build can't transfer own Github hosted parent pom, receives Bad Request and 'parent.relativePath' points at wrong local POM #26924

Answered by BrightRan
joergi asked this question in Actions
Discussion options

You must be logged in to vote

@joergi ,

how do I start / use a self-hosted runner?

You can see “Adding self-hosted runners” to get more details about adding self-hosted runners.
And more information about self-hosted runners, you can see “Hosting your own runners”.


Honestly, at the moment I’m not sure if the setting.xml uses the github secret.
because if I look into my Github tokens, I can see that it’s never used…

To use the GITHUB_TOKEN or a personal access token (PAT) in the setting.xml, you can try like as the following:

  • In the setting.xml file, you can set like as this.

    <settings . . .>
      . . .
      <servers>
        <server>
          <id>github</id>
          <username>USERNAME</username>
          <password>${MVN_AUTH_TOK…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Product Feedback
2 participants