Currently we use a hacky way to sequentially increase version of packages with every workflow run. It's based on GITHUB_RUN_ID which has already exposed one issue - when the value exceeded max int and couldn't be used as part of version number.
The solution would be to steer away from GitHub predefined variables and move to proper semantic versioning.