Skip to content

Commit

Permalink
More abstract GHA logic into environment variables. Fixed unknown use…
Browse files Browse the repository at this point in the history
…r and email.
  • Loading branch information
david-waltermire committed Nov 9, 2024
1 parent 3dc144f commit 31832bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 31832bd

Please sign in to comment.