Pass get (folder) to an other get (in) resource

Is there a way to pass over a get resource output to an other get (in) resource? (I’m writing the later one)

What I would like to have is to pass over a version resource output to a new get resource.

Something like this:
- get: version
bump: patch
- get: here-I-would-like-to-use-version

In practice I would like to fetch the provided version of the artifact from the maven repository. – That might not be the latest…