fix setapi

fix setapi bug, update versions and package the workflow