[Feature request] Ability to use defined ouputs from previous steps

Support the ability to use defined ouputs from previous steps like GitHub Actions:
https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs

I know I can write command outputs to files, but supporting step outputs will be more convenient.