Using environment variables in fastlane step

Hi @raphaelmina,

Thanks for asking this here! :wink:

fastlane uses Ruby as it’s config language, and in Ruby you reference environment variables with ENV['ENV_KEY']. In the case above: ENV['BITRISE_APK_PATH']. Note: there’s no $ in the ID!

The $ENV_KEY / ${ENV_KEY} environment variable value reference style is common in script languages like Bash, which is the most common ā€œglueā€ script language on Mac/Linux, that’s why we opted to use that style in inputs. But in general, these are just environment variables, so you just have to check how in the language of your choice you can reference env vars.

If you have any questions just let us know!
Happy Building! :slight_smile: