support getting the actions

I need the actions in order to extract the build cause.

The setActions is probably not needed, but I kept it there since it isa breaking change.