Skip to content

Commit

Permalink
Merge pull request #610 from gradle/tb/actions-debug
Browse files Browse the repository at this point in the history
Enable debug logging for the validation scripts when GitHub Actions debug logging is enabled
  • Loading branch information
tylerbertrand authored May 8, 2024
2 parents d63783f + e989e48 commit 5e10b33
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/actions/gradle/experiment-1/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ runs:
${ARG_TASKS:+"-t" "$ARG_TASKS"} \
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
${ARG_GE_ENABLE:+"-e"}
${ARG_GE_ENABLE:+"-e"} \
${RUNNER_DEBUG:+"--debug"}
# Set the Build Scan urls as outputs
RECEIPT_FILE=".data/01-validate-incremental-building/latest/exp1-*.receipt"
Expand Down
3 changes: 2 additions & 1 deletion .github/actions/gradle/experiment-2/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ runs:
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
${ARG_GE_ENABLE:+"-e"} \
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"}
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"} \
${RUNNER_DEBUG:+"--debug"}
# Set the Build Scan urls as outputs
RECEIPT_FILE=".data/02-validate-local-build-caching-same-location/latest/exp2-*.receipt"
Expand Down
3 changes: 2 additions & 1 deletion .github/actions/gradle/experiment-3/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ runs:
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
${ARG_GE_ENABLE:+"-e"} \
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"}
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"} \
${RUNNER_DEBUG:+"--debug"}
# Set the Build Scan urls as outputs
RECEIPT_FILE=".data/03-validate-local-build-caching-different-locations/latest/exp3-*.receipt"
Expand Down
3 changes: 2 additions & 1 deletion .github/actions/maven/experiment-1/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ runs:
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
${ARG_GE_ENABLE:+"-e"} \
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"}
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"} \
${RUNNER_DEBUG:+"--debug"}
# Set the Build Scan urls as outputs
RECEIPT_FILE=".data/01-validate-local-build-caching-same-location/latest/exp1-*.receipt"
Expand Down
3 changes: 2 additions & 1 deletion .github/actions/maven/experiment-2/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ runs:
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
${ARG_GE_ENABLE:+"-e"} \
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"}
${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"} \
${RUNNER_DEBUG:+"--debug"}
# Set the Build Scan urls as outputs
RECEIPT_FILE=".data/02-validate-local-build-caching-different-locations/latest/exp2-*.receipt"
Expand Down

0 comments on commit 5e10b33

Please sign in to comment.