File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7-
7+
88 pull_request :
99 branches :
1010 - master
11-
11+
1212 release :
1313 types : [created]
1414
@@ -49,12 +49,26 @@ jobs:
4949# - name: Execute jacocoTestReport
5050# run: ./gradlew test jacocoTestReport && cp build/reports/jacoco/report.xml jacoco.xml || echo "Code coverage failed"
5151 - name : Build with Gradle
52- run : ./gradlew build --refresh-dependencies --no-daemon --continue
52+ run : ./gradlew build asciidoctor --refresh-dependencies --no-daemon --continue
53+ - name : Generate Changelog
54+ uses : heinrichreimer/github-changelog-generator-action@v2.1.1
55+ with :
56+ token : ${{ secrets.GITHUB_TOKEN }}
57+ - name : Push Docs and Changelog
58+ uses : github-actions-x/commit@v2.7
59+ with :
60+ github-token : ${{ secrets.GITHUB_TOKEN }}
61+ push-branch : ' master'
62+ commit-message : ' Automatic docs and changelog generation'
63+ force-add : ' true'
64+ files : CHANGELOG.md docs/
65+ name : ${{ github.actor }}
66+ email : ${{ github.actor }}@users.noreply.github.com
5367# - name: Push codeCoverage to Codecov
5468# run: bash <(curl -s https://codecov.io/bash)
5569 - name : Echo credentials
5670 run : echo "bintrayUser=${{secrets.BINTRAY_USER}}" >> gradle.properties
5771 - name : Echo credentials Key
58- run : echo "bintrayApiKey=${{secrets.BINTRAY_KEY}}" >> gradle.properties && cat gradle.properties
72+ run : echo "bintrayApiKey=${{secrets.BINTRAY_KEY}}" >> gradle.properties && cat gradle.properties
5973 - name : Publish plugin
6074 run : ./gradlew bintrayUpload
You can’t perform that action at this time.
0 commit comments