Skip to content

Commit

Permalink
misc: Updating setup variables workflow job
Browse files Browse the repository at this point in the history
  • Loading branch information
srushti-patl committed Mar 5, 2024
1 parent e3260f7 commit 1e1f287
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test-uat-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ jobs:
for secret_content in $(env | grep 'TEST_DATA_UAT_' | cut -d '=' -f1); do
pwd
if [[ -z "$secret_content" ]];then
echo "Variable is empty"
echo "Variable is empty"
fi
if [[ "$secret_content" == *"PORT_CONNECTION_PORT_ZSIDE"* ]]; then
pwd
echo "$secret_content" > ./examples/port-2-port-connection/terraform.tfvars.json
pwd
echo "$secret_content" > ./examples/port-2-port-connection/terraform.tfvars.json
fi
done
- name: Run Go Tests
Expand Down

0 comments on commit 1e1f287

Please sign in to comment.