docs: readme: Add features list (#19) #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create coverage badge | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Generate coverage output | |
run: | | |
echo "COVERAGE=$(${{github.workspace}}/gradlew -q printLineCoverage)" >> $GITHUB_ENV | |
- name: Update dynamic badge gist | |
uses: schneegans/[email protected] | |
with: | |
auth: ${{secrets.GIST_SECRET}} | |
gistID: 040646868c4c6473297b0d4e1546bf21 | |
filename: KtScheduler_coverage_badge.json | |
label: coverage | |
message: ${{env.COVERAGE}}% | |
valColorRange: ${{env.COVERAGE}} | |
minColorRange: 0 | |
maxColorRange: 100 |