Closed BernhardFuchs closed 4 years ago
hi all,
I have the same issue.
my scm
section in pom contains the git repo url
<developerConnection>scm:git:git@github.com:laurentleseigneur/bonita-connector-pdf-stamp.git</developerConnection>
in https://github.com/qcastel/github-actions-maven-release/blob/master/release.sh#L64 and https://github.com/qcastel/github-actions-maven-release/blob/master/release.sh#L75
what is not clear for me this usage of the github token -Dusername=$GITHUB_ACCESS_TOKEN
thanks for your help
The -Dusername=$GITHUB_ACCESS_TOKEN
is for the authentication. At the moment, it's not via SSH yet.
Although I am revisiting this github action today and will hence it with the possibility to add a SSH key instead, which personally I found easier to setup.
thanks for your answer Quentin.
I'll give a try to https in my developper connection using current version
@laurentleseigneur I am actually working on a new version of the github actions which should allow SSH. If you are not in the hurry, you can just wait I finish this new version of the github action :)
@laurentleseigneur @BernhardFuchs I released a new version of this github actions which I believe should be easier to setup.
I recommend you switch to use an SSH key. I find it more straight forward, maybe because I am used to setup SSH keys for git. The documentation is here: https://github.com/qcastel/github-actions-maven-release#setup-with-ssh
If you got any problem, feel free to re-open that issue.
If you got any problem, feel free to re-open that issue.
Yes, I got problem. New issue #14 created.
I try to use the
GITHUB_TOKEN
as described in the official docs but get following error:Is use the action like this: