Do not acquire packages before actual step execution

I have a step which generates package and uploads it to the built-in feed. Then next step takes this package. And since packages are acquired before any steps execution such flow is not working.
Is this possible somehow to postpone getting package before actual step execution when it’s already presents?

Hi @alexey.klipilin,

Thanks for reaching out and welcome to the Octopus community!

That’s a great question! I’m pretty sure it’s not possible to delay the package acquisition for each step as you’ve suggested, however it is definitely possible to achieve this effect using multiple projects and our Deploy a Release Step.

In this case, I would recommend creating a ‘Parent’ project which builds/uploads the package and then ‘Child’ projects in order to deploy the package:

That should allow for the package acquisition to occur after the script which is ran as the first step in the project:

Let me know how you get on or if you have any questions at all!

Best Regards,

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.