Skip to content

Commit

Permalink
Enable trace debugging using runner.debug (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbaldry authored Dec 12, 2024
1 parent 721cc32 commit f65819d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion update-make-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ runs:
DIRECTORY: ${{ inputs.directory }}
GH_TOKEN: ${{ inputs.token }}
PR_OPTIONS: ${{ inputs.pr_options }}
RUNNER_DEBUG: ${{ runner.debug || inputs.trace }}
name: Update `make docs` procedure
run: |
set -euf -o pipefail
if ${{ inputs.trace }}; then
if [[ -n "${RUNNER_DEBUG+x}" ]]; then
set -x
fi
Expand Down

0 comments on commit f65819d

Please sign in to comment.