Sorry, the released thing was a copy paste error. I don't know why it doesn't work on process, but I just tested it and this definitely works.
func _input(event):
if event.is_action_pressed("scroll_up"):
print("scroll_up")
if event.is_action_pressed("scroll_down"):
print("scroll_down")