File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 - uses : actions/checkout@v4
1919
2020 - name : Gradle
21- run : ./gradlew check --no-daemon
21+ run : ./gradlew lintKotlin check codeCoverageReport --no-daemon
22+
23+ - name : Codecov
24+ uses : codecov/codecov-action@v5.5.2
25+ with :
26+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 66 - ' v*'
77
88jobs :
9- build :
9+ publish :
1010 runs-on : ubuntu-22.04
1111 container :
1212 image : eclipse-temurin:17.0.18_8-jdk-alpine-3.23
1515 - uses : actions/checkout@v4
1616
1717 - name : Gradle build
18- run : ./gradlew build --no-daemon
18+ run : |
19+ VERSION=${{ github.ref_name }}
20+ VERSION=${VERSION#v}
21+ export VERSION
22+ echo "Publish $VERSION"
23+ ./gradlew lintKotlin check codeCoverageReport publishAggregationToCentralPortal --no-daemon
1924
20- - name : Tests
21- run : ./gradlew test --no-daemon
25+ - name : Codecov
26+ uses : codecov/codecov-action@v5.5.2
27+ with :
28+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 44 branches :
55 - master
66jobs :
7- build :
7+ tag :
88 runs-on : ubuntu-22.04
99
1010 steps :
1616 github_token : ${{ secrets.GITHUB_TOKEN }}
1717 default_bump : patch
1818 tag_prefix : v
19+ - name : Create a GitHub release
20+ uses : ncipollo/release-action@v1
21+ with :
22+ tag : ${{ steps.tag_version.outputs.new_tag }}
23+ name : Release ${{ steps.tag_version.outputs.new_tag }}
24+ body : ${{ steps.tag_version.outputs.changelog }}
You can’t perform that action at this time.
0 commit comments