File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v3
14+ - uses : actions/checkout@v1
1515
1616 - name : Set up JDK 11
1717 uses : actions/setup-java@v1
2626 runs-on : ubuntu-latest
2727
2828 steps :
29- - uses : actions/checkout@v3
29+ - uses : actions/checkout@v1
3030 - uses : actions/setup-java@v1
3131 with :
3232 java-version : 11
@@ -43,12 +43,13 @@ jobs:
4343 echo "coverage = ${{ steps.jacoco.outputs.coverage }}"
4444 echo "branch coverage = ${{ steps.jacoco.outputs.branches }}"
4545
46- - name : Commit the badge (if it changed)
47- if : github.ref == 'refs/heads/master'
48- run : |
49- if [[ `git status --porcelain` ]]; then
50- git config --global user.name 'zakaria maaraki'
51- git add -A
52- git commit -m "Autogenerated JaCoCo coverage badge"
53- git push
54- fi
46+ # - name: Commit the badge (if it changed)
47+ # if: github.ref == 'refs/heads/master'
48+ # run: |
49+ # if [[ `git status --porcelain` ]]; then
50+ # git config --global user.name 'zakaria maaraki'
51+ # git config user.email "[email protected] " 52+ # git add -A
53+ # git commit -m "Autogenerated JaCoCo coverage badge"
54+ # git push origin HEAD:master
55+ # fi
You can’t perform that action at this time.
0 commit comments