Here is a description in the FAQs how to create an action group.
If you want to get 2 separate action groups, you have to do that twice.