File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 37
37
_SUMMARY = Path (_summary_path ).open ("a" )
38
38
39
39
_RENDER_SUMMARY = os .getenv ("GHA_SIGSTORE_PYTHON_SUMMARY" , "true" ) == "true"
40
- _DEBUG = os .getenv ("GHA_SIGSTORE_PYTHON_INTERNAL_BE_CAREFUL_DEBUG" , "false" ) != "false"
40
+ _DEBUG = os .getenv ("GHA_SIGSTORE_PYTHON_INTERNAL_BE_CAREFUL_DEBUG" , "false" ) != "false" or \
41
+ os .getenv ("ACTIONS_STEP_DEBUG" , "false" ) == "true"
41
42
42
43
_RELEASE_SIGNING_ARTIFACTS = (
43
44
os .getenv ("GHA_SIGSTORE_PYTHON_RELEASE_SIGNING_ARTIFACTS" , "true" ) == "true"
Original file line number Diff line number Diff line change @@ -22,8 +22,10 @@ die() {
22
22
}
23
23
24
24
debug () {
25
- if [[ " ${GHA_SIGSTORE_PYTHON_INTERNAL_BE_CAREFUL_DEBUG} " = " true" ]]; then
26
- echo -e " \033[93mDEBUG: ${1} \033[0m"
25
+ if [[ " ${GHA_SIGSTORE_PYTHON_INTERNAL_BE_CAREFUL_DEBUG:- false} " != " false" || \
26
+ " ${ACTIONS_STEP_DEBUG:- false} " == ' true' ]]
27
+ then
28
+ echo -e " \033[93mDEBUG: ${1} \033[0m" >&2
27
29
fi
28
30
}
29
31
You can’t perform that action at this time.
0 commit comments