To create an environment variable group, select Environment Variables from the build module. Click on the orange + icon and enter the name of the group into the input box, press enter to save the group name and create the group.
To add an environment variable to the group, select the "Text" tab from the top and use the inputs below. Enter a key name, then enter the value for the key and press enter.
You can add as many environment variables as you need.
Please note that some environment variables may need to be duplicated to be used in different groups for different purposes.
You can also add files as environment variables and use them in build workflows in the same way. They can be used for things like API-key based authentication in Firebase or for adding dSYM files.
To add a file, select the "File" tab from the top and enter a key name from the inputs below. Then select a file from the file browser that opens when you click the file field.
Then press add to upload the file.
Environment variable groups can be used in builds to extend the workflow and add additional actions to workflow steps.
To add an environment variable group to a build, go to the build profile from the build module and select Build Configuration > Env. Variables
Here, you can see a list of previously created environment variable groups. Select the groups you want to be included in this specific build profile. Then click Save to save your selection.
Then in workflows, you can specify the environment variable for use.