Skip to content

Commit 5e10b33

Browse files
Merge pull request #610 from gradle/tb/actions-debug
Enable debug logging for the validation scripts when GitHub Actions debug logging is enabled
2 parents d63783f + e989e48 commit 5e10b33

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

Diff for: .github/actions/gradle/experiment-1/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ runs:
9494
${ARG_TASKS:+"-t" "$ARG_TASKS"} \
9595
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
9696
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
97-
${ARG_GE_ENABLE:+"-e"}
97+
${ARG_GE_ENABLE:+"-e"} \
98+
${RUNNER_DEBUG:+"--debug"}
9899
99100
# Set the Build Scan urls as outputs
100101
RECEIPT_FILE=".data/01-validate-incremental-building/latest/exp1-*.receipt"

Diff for: .github/actions/gradle/experiment-2/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ runs:
102102
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
103103
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
104104
${ARG_GE_ENABLE:+"-e"} \
105-
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"}
105+
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"} \
106+
${RUNNER_DEBUG:+"--debug"}
106107
107108
# Set the Build Scan urls as outputs
108109
RECEIPT_FILE=".data/02-validate-local-build-caching-same-location/latest/exp2-*.receipt"

Diff for: .github/actions/gradle/experiment-3/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ runs:
102102
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
103103
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
104104
${ARG_GE_ENABLE:+"-e"} \
105-
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"}
105+
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"} \
106+
${RUNNER_DEBUG:+"--debug"}
106107
107108
# Set the Build Scan urls as outputs
108109
RECEIPT_FILE=".data/03-validate-local-build-caching-different-locations/latest/exp3-*.receipt"

Diff for: .github/actions/maven/experiment-1/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ runs:
102102
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
103103
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
104104
${ARG_GE_ENABLE:+"-e"} \
105-
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"}
105+
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"} \
106+
${RUNNER_DEBUG:+"--debug"}
106107
107108
# Set the Build Scan urls as outputs
108109
RECEIPT_FILE=".data/01-validate-local-build-caching-same-location/latest/exp1-*.receipt"

Diff for: .github/actions/maven/experiment-2/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ runs:
102102
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
103103
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
104104
${ARG_GE_ENABLE:+"-e"} \
105-
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"}
105+
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"} \
106+
${RUNNER_DEBUG:+"--debug"}
106107
107108
# Set the Build Scan urls as outputs
108109
RECEIPT_FILE=".data/02-validate-local-build-caching-different-locations/latest/exp2-*.receipt"

0 commit comments

Comments
 (0)