I am trying to convert classic Azure pipelines to YAML.
however, I couldn't find any documents on how can I have an environment deployment utilize a previous build artifact? i.e. if we build and deploy to dev, after testing how can we build that exact same artifact of the build to another environment (such as integration or staging slot)? I don't want to do a whole build again as then we will have a different code base if changes were made in master in the meantime.
I that something possible with YAML pipeline, if so should I approach to implement this?