File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -126,11 +126,17 @@ jobs:
126126 # Check the exit status of parallel
127127 parallel_exit=$?
128128
129- # If parallel succeeded, clean up node_modules to save space
129+ # If parallel succeeded, clean up node_modules and cdk.out to save space
130130 if [ $parallel_exit -eq 0 ]; then
131- echo "::group::Cleaning up node_modules "
131+ echo "::group::Cleaning up build artifacts "
132132 # Find all node_modules directories within the language directory and remove them
133+ echo "Removing node_modules directories..."
133134 find ./ -name "node_modules" -type d -prune -exec rm -rf {} \; 2>/dev/null || true
135+
136+ # Find all cdk.out directories within the language directory and remove them
137+ echo "Removing cdk.out directories..."
138+ find ./ -name "cdk.out" -type d -prune -exec rm -rf {} \; 2>/dev/null || true
139+
134140 echo "Cleanup completed"
135141 echo "::endgroup::"
136142 fi
You can’t perform that action at this time.
0 commit comments