Skip to content

Commit 31832bd

Browse files
More abstract GHA logic into environment variables. Fixed unknown user and email.
1 parent 3dc144f commit 31832bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ jobs:
8484
if: env.COMMIT_MAVEN_ARTIFACTS == 'true'
8585
run: |
8686
MVN_COORDS=$(echo '${project.groupId}:${project.artifactId}:${project.version}' | mvn -N -q -DforceStdout help:evaluate)
87+
COMITTER_USERNAME=$(git log -n 1 --pretty=format:%an)
88+
COMITTER_EMAIL=$(git log -n 1 --pretty=format:%ae)
8789
cd maven2
8890
echo "Configuring git identity"
8991
git config user.name "GitHub Action"

0 commit comments

Comments
 (0)