Custom bulk actions in WP 3.7.1

You’re seeing $action empty because there is a redirect from wp-admin/edit.php.

So, the output you are seeing is after the redirect.

Use, die() after echo $action to see the output before the redirect.