From 972947f8961f74c13100c99d1de2191b32af1564 Mon Sep 17 00:00:00 2001 From: cjcchen Date: Thu, 31 Aug 2023 02:25:52 +0000 Subject: [PATCH] add loc --- .github/workflows/loc.yml | 19 +++++++++++++++++++ .github/workflows/main.yml | 9 --------- 2 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/loc.yml diff --git a/.github/workflows/loc.yml b/.github/workflows/loc.yml new file mode 100644 index 000000000..eb636d206 --- /dev/null +++ b/.github/workflows/loc.yml @@ -0,0 +1,19 @@ +name: Doxygen Action + +on: + push + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Make Code Badge + uses: shadowmoose/GHA-LoC-Badge@1.0.0 + id: badge + with: + debug: true + directory: ./ + badge: ./output/badge.svg + patterns: '*.cpp' # Patterns in the format of a '.gitignore' file, separated by pipes. + ignore: 'node_modules' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6fefa6712..6688d39d1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,12 +26,3 @@ jobs: publish_dir: documents/doxygen/html cname: api.resilientdb.com - - name: Make Code Badge - uses: shadowmoose/GHA-LoC-Badge@1.0.0 - id: badge - with: - debug: true - directory: ./ - badge: ./output/badge.svg - patterns: '*.cpp' # Patterns in the format of a '.gitignore' file, separated by pipes. - ignore: 'node_modules'