Skip to content

Commit

Permalink
#3 Fixed output dir creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Epatko committed Mar 5, 2024
1 parent 63df15b commit cb7e0b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Expand Up @@ -18,9 +18,9 @@ inputs:
required: false
default: '2000-01-01'
output_dir:
description: 'Output directory. Default: ./output'
description: 'Output directory. Default: output'
required: false
default: './output'
default: 'output'
filename:
description: 'Output filename. Default: hoc-badge.svg'
required: false
Expand Down
4 changes: 4 additions & 0 deletions generate-badge.sh
Expand Up @@ -15,3 +15,7 @@ Count=$(hoc -d "$Dir" -e "$Exclude" -s "$Since" -b "$Before" -f "int")
echo "Hits of code: $Count"

anybadge -l "Hits of Code" -v "$Count" -f "$OutDir/$Filename" -c royalblue

pwd

ls "$OutDir"

0 comments on commit cb7e0b1

Please sign in to comment.