Not in a race, but I did once run up and down some stairs with my bike in Germany, because I couldn't figure out the right way to get round a roadblock.
Running up and down stairs would most definitely be a bad strategic choice; then you'd just be back where you started.