Well in that case, the Game Object Compare Tag "Every frame" option should be checked. If it isn't, as soon when the gameplay start, and the action could not find the game object to be compared with, it will be disabled right away.
With every frame, the Compare action will check everyframe, and when the raycast hit an object and stored it, the compare action will check that object tag right away.