Skip to content

docs: readme: Add features list (#19) #21

docs: readme: Add features list (#19)

docs: readme: Add features list (#19) #21

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