Skip to content

Optionaly bold class type #44

Optionaly bold class type

Optionaly bold class type #44

Workflow file for this run

name: Lines of code badge
on:
push:
branches:
- master
jobs:
build_loc_badge:
runs-on: ubuntu-latest
name: Build LoC Badge
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Generate Badge
uses: shadowmoose/GHA-LoC-Badge@1.0.0
id: badge
with:
debug: true
directory: ./
badge: ./output/loc-badge.svg
ignore: '**/images/**||*.zip|gradlew|gradlew.bat|*.jar|**/LICENSE|**/gradle/**'
badge_label: 'Lines of Code'
- name: Print the output
run: |
echo "Scanned: ${{ steps.badge.outputs.counted_files }}";
echo "Line Count: ${{ steps.badge.outputs.total_lines }}";
- name: Deploy Badge
uses: peaceiris/actions-gh-pages@v2.9.0
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: project-badges
PUBLISH_DIR: ./output
with:
username: "shadow-bot"
useremail: "github_bot@github.com"