Skip to content

Commit

Permalink
user id test
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementGib committed Nov 6, 2024
1 parent 3e84832 commit 2ec6943
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,21 @@ jobs:
- name: Log coverage percentage
run: |
echo "GitHub User ID: ${GITHUB_ACTOR}"
echo "coverage = ${{ steps.jacoco.outputs.coverage }}"
echo "branch coverage = ${{ steps.jacoco.outputs.branches }}"
echo "branch coverage = ${{ steps.jacoco.outputs.branches }}"
- name: Commit the badge (if it changed)
run: |
if [[ `git status --porcelain` ]]; then
git config --global user.name 'ClementGib'
git config --global user.email '[email protected]'
git add -A
git commit -m "Autogenerated JaCoCo coverage badge"
git push
fi
- name: Upload JaCoCo coverage report
uses: actions/upload-artifact@v2
with:
name: jacoco-report
path: target/site/jacoco/

0 comments on commit 2ec6943

Please sign in to comment.