Which actions get counted towards your APM in Starcraft 2?

Solution 1:

Every click and command counts as an action. Pressing multiple buttons for one command (e.g. Shift + 1 to add units to group 1) counts as one action, so your keybind will count as one action.

Consecutive actions are also all counted by APM. However, EPM (effective APM) is calculated differently and removes some redundant actions. Doing the same thing repeatedly or too quickly will not count towards EPM, but exactly how Blizzard calculates EPM is unknown.