We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 014ce8e commit 075cb7bCopy full SHA for 075cb7b
action.yml
@@ -151,8 +151,14 @@ runs:
151
exit 1
152
fi
153
154
- # Create the output directories
+ # Clean and create the output directories
155
mkdir -p "$MD_OUTPUT_DIR"
156
+
157
+ # Remove existing .codeboarding files before adding new ones
158
+ if [ -d "$JSON_OUTPUT_DIR" ]; then
159
+ echo "Cleaning existing JSON files from $JSON_OUTPUT_DIR"
160
+ rm -rf "$JSON_OUTPUT_DIR"
161
+ fi
162
mkdir -p "$JSON_OUTPUT_DIR"
163
164
# Initialize counters
0 commit comments