#{Octopus.Action[StepName].Output.Package.FileName}

Before upgrading from v2018.6.15 to v2019.9.10
I’m testing some of our deployment process in v2019.9.10

one of our deployment script use “#{Octopus.Action[StepName].Output.Package.FileName}”.
This works in octopus version 2018.6.15 but not in 2019.9.10. I’m just getting “#{Octopus.Action[StepName].Output.Package.FileName}” as output. Is there a change I need to make or is this an issue with v2019.9.10?

ps. The StepName that the variable refer to is a step that acquire package from the Octopus Server feed.
Also, “#{Octopus.Action[Deploy DocsPackage].Output.Package.InstallationDirectoryPath}” works

Ignore this.
It was a step that’s not used.
Looking closer it does not work in 2018.6.15

Out of curiosity how would you get the file/package name from a ‘Deploy a Package’ step?