@@ -151,5 +151,11 @@ runs:
fi
rm -f "$FILENAME"
+ # Cleanup any leftover archive artifacts (single-file or split parts)
+ if [ "${{ inputs.debug }}" = "true" ]; then
+ echo "Cleaning archive artifacts: ${BASE_FILENAME}*"
+ fi
+ rm -f "${BASE_FILENAME}"* || true
+
echo "::endgroup::"