As part of my workflow I need to create a new environment variable that having as value the bitrise deploy folder (aka $BITRISE_DEPLOY_DIR)
In my workflow I have defined a script step as follow:
- script@1.1.4:
inputs:
- content: |-
#!/bin/bash
envman add --key IMAGE_DIFF_DIR --value "${BITRISE_DEPLOY_DIR}"
echo "Snapshot failure folder: ${IMAGE_DIFF_DIR}"
The expected result would be the step printing following
Snapshot failure folder: /Users/........
Although the actual behaviour is:
Snapshot failure folder:
It looks like the value of BITRISE_DEPLOY_DIR is empty or, more plausible, Iām doing something wrong.