Using L298N stepper motor driver with Arduino Uno

Hello
I am new to the Arduino world,
I was setting up a stepper motor by L298N driver and controlling them by Arduino Due,
and not only I didn't see any movement on the motor but also I found my L298N completely hot and warm
so I wonder if we could use Arduino Due by L298N for controlling stepper motors??...
and also I use the example code generated inside Arduino Ide itself(stepper-> stepper_oneRevolution) ...

https://forum.arduino.cc/index.php?topic=483826.0

How do you power your motors ?