Closed francis-pang closed 3 years ago
Job log at here
##[debug]Result: 'master' /usr/bin/docker run --name f99d977216484d949914f1716db545_53dc2b --label 179394 --workdir /github/workspace --rm -e JAVA_HOME_15.0.1_x64 -e JAVA_HOME -e JAVA_HOME_15_0_1_X64 -e INPUT_RELEASE-BRANCH-NAME -e INPUT_GIT-RELEASE-BOT-NAME -e INPUT_GIT-RELEASE-BOT-EMAIL -e INPUT_ACCESS-TOKEN -e INPUT_MAVEN-ARGS -e INPUT_GPG-ENABLED -e INPUT_GPG-KEY-ID -e INPUT_GPG-KEY -e INPUT_GPG-PASSPHRASE -e INPUT_SSH-PRIVATE-KEY -e INPUT_SSH-PASSPHRASE -e INPUT_MAVEN-REPO-SERVER-ID -e INPUT_MAVEN-REPO-SERVER-USERNAME -e INPUT_MAVEN-REPO-SERVER*** INPUT_MAVEN-PROJECT-FOLDER -e INPUT_MAVEN-OPTIONS -e INPUT_SKIP-PERFORM -e INPUT_VERSION-MAJOR -e INPUT_VERSION-MINOR -e INPUT_M2-HOME-FOLDER -e GPG_ENABLED -e GPG_KEY_ID -e GPG_KEY -e GPG_PASSPHRASE -e SSH_PRIVATE_KEY -e SSH_ROOT_FOLDER -e SSH_PASSPHRASE -e MAVEN_REPO_SERVER_ID -e MAVEN_REPO_SERVER_USERNAME -e MAVEN_REPO_SERVER_PASSWORD -e MAVEN_PROJECT_FOLDER -e MAVEN_ARGS -e MAVEN_OPTION -e M2_HOME_FOLDER -e GIT_RELEASE_BOT_NAME -e GIT_RELEASE_BOT_EMAIL -e SKIP_PERFORM -e GITREPO_ACCESS_TOKEN -e VERSION_MAJOR -e VERSION_MINOR -e RELEASE_BRANCH_NAME -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_DEBUG -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/expense-tally/expense-tally":"/github/workspace" 179394:01f99d977216484d949914f1716db545 "release-github-actions.sh" Last release-bot commit: e822e80564b5127da3b327c2ff05eab5aec930a1 Current commit: be09236f06887a15a09b5f7b3ef76e33f759e246 Current branch: master Using SSH folder /root/.ssh Using M2 repository folder /root/.m2 /root/.m2 is empty, this means we didn't hit a potential M2 cache :( Git checkout branch master Already on 'master' Your branch is up to date with 'origin/master'. Git reset hard to be09236f06887a15a09b5f7b3ef76e33f759e246 HEAD is now at be09236 Merge pull request #60 from francis-pang/feature/central-repo Setup git user name to 'release-bot' Setup git user email to 'release-bot@example.com' GPG_ENABLED 'false' GPG signing is not enabled No SSH key defined Move to folder ./ Do mvn release:prepare with options and arguments -Dmaven.javadoc.skip=true -DskipTests -DskipITs -Ddockerfile.skip -DdockerCompose.skip The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE
I installed JDK 14 and 15. You can find a section in the readme for customising the JDK version: https://github.com/qcastel/github-actions-maven-release#jdk-version
Job log at here