diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0f72d9f7..86b9e05d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,6 +84,8 @@ jobs: if: env.COMMIT_MAVEN_ARTIFACTS == 'true' run: | MVN_COORDS=$(echo '${project.groupId}:${project.artifactId}:${project.version}' | mvn -N -q -DforceStdout help:evaluate) + COMITTER_USERNAME=$(git log -n 1 --pretty=format:%an) + COMITTER_EMAIL=$(git log -n 1 --pretty=format:%ae) cd maven2 echo "Configuring git identity" git config user.name "GitHub Action"