From 40448442d73f9310711b2deae7a354629b416d5a Mon Sep 17 00:00:00 2001 From: Lukas Dullinger <129603980+itislu@users.noreply.github.com> Date: Fri, 26 Jul 2024 02:15:02 +0200 Subject: [PATCH] ci: Add a job summary to lines of code workflow --- .github/workflows/lines_of_code.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lines_of_code.yaml b/.github/workflows/lines_of_code.yaml index c1ebe637..3037f5bf 100644 --- a/.github/workflows/lines_of_code.yaml +++ b/.github/workflows/lines_of_code.yaml @@ -30,6 +30,7 @@ jobs: run : | ${{ env._CLOC_DIR }}/cloc --fmt=2 --include-lang="${{ env.LANGUAGES }}" . | tee ${{ env._CLOC_DIR }}/cloc_output.txt echo "_LINES_OF_CODE=$(grep 'SUM' ${{ env._CLOC_DIR }}/cloc_output.txt | awk '{print $5}')" >> "$GITHUB_ENV" + ${{ env._CLOC_DIR }}/cloc --md --include-lang="${{ env.LANGUAGES }}" . | tail -n +4 >> $GITHUB_STEP_SUMMARY - name: 📑 Count lines by file run : |