Skip to content

Commit 8a00045

Browse files
Added more debugging
1 parent 70b9185 commit 8a00045

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

env0.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@ deploy:
1818
- name: Print Env Vars
1919
run: |
2020
env
21+
echo ""
22+
echo "=== Tool Availability ==="
23+
if command -v jq &> /dev/null; then
24+
echo "JQ: Available ($(jq --version))"
25+
else
26+
echo "JQ: Not available"
27+
fi
28+
if command -v python &> /dev/null; then
29+
echo "Python: Available ($(python --version 2>&1))"
30+
elif command -v python3 &> /dev/null; then
31+
echo "Python: Available ($(python3 --version 2>&1))"
32+
else
33+
echo "Python: Not available"
34+
fi
2135
2236
terraformApply:
2337
before:
@@ -36,9 +50,37 @@ deploy:
3650
- name: Print Env Vars
3751
run: |
3852
env
53+
echo ""
54+
echo "=== Tool Availability ==="
55+
if command -v jq &> /dev/null; then
56+
echo "JQ: Available ($(jq --version))"
57+
else
58+
echo "JQ: Not available"
59+
fi
60+
if command -v python &> /dev/null; then
61+
echo "Python: Available ($(python --version 2>&1))"
62+
elif command -v python3 &> /dev/null; then
63+
echo "Python: Available ($(python3 --version 2>&1))"
64+
else
65+
echo "Python: Not available"
66+
fi
3967
4068
terraformOutput:
4169
after:
4270
- name: Print Env Vars
4371
run: |
4472
env
73+
echo ""
74+
echo "=== Tool Availability ==="
75+
if command -v jq &> /dev/null; then
76+
echo "JQ: Available ($(jq --version))"
77+
else
78+
echo "JQ: Not available"
79+
fi
80+
if command -v python &> /dev/null; then
81+
echo "Python: Available ($(python --version 2>&1))"
82+
elif command -v python3 &> /dev/null; then
83+
echo "Python: Available ($(python3 --version 2>&1))"
84+
else
85+
echo "Python: Not available"
86+
fi

0 commit comments

Comments
 (0)