-
I’m at the moment building a project. It works perfectly on my machine, even if I delete the parent-pom from my .m2 repository
The parent-pom has this definition:
My new project use Github actions for automatic testing.
I also have a settings.xml in the new project
The secret is in my Github secrets. If I remove or change it, I’m not authorized anymore, so this works. Can one of you give me a hint, what is wrong (I already posted it on StackOverflow, but no answer yet) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
@joergi , I have created an issue ticket (actions/virtual-environments#1554) to help you report the problem the appropriate engineering team for further investigation and evaluation. You can follow this issue ticket and add your comment to it. In addition, you mentioned,
You can try to install a self-hosted runner on your local machine to run the workflow to see if the error still occurs. |
Beta Was this translation helpful? Give feedback.
-
how do I start / use a self-hosted runner? |
Beta Was this translation helpful? Give feedback.
-
Honestly, at the moment I’m not sure if the setting.xml uses the github secret. |
Beta Was this translation helpful? Give feedback.
-
@joergi ,
You can see “Adding self-hosted runners” to get more details about adding self-hosted runners.
To use the GITHUB_TOKEN or a personal access token (PAT) in the setting.xml, you can try like as the following:
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot. (no I have some other error, but I know how to solve it) |
Beta Was this translation helpful? Give feedback.
@joergi ,
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”.
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.