Supply when pumping

Kimberley
After a failed round of antibiotics I am now on one that is not safe to breastfeed my baby while I am talking it.  My plan was to give baby formula and pump and dump until I can breast feed again. Well I am pumping but there is nothing to dump.  I pump 10-20 mins at least 4 times a day.  If nothing is coming out will I lose my supply? Am I at least stimulating for more milk to be produced?
TIA