after_success: make if statement OSX bash compatible
after_success: make if statement OSX bash compatible

OSX builds fail at this line:
https://github.com/litex-hub/litex-conda-misc/runs/1700846552?check_suite_focus=true

litex-hub/litex-conda-ci,litex-hub/litex-conda-ci