Skip to content

Commit bd5675d

Browse files
committed
Add additional output in debug mode
1 parent 62a9a0e commit bd5675d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/public-analyze-code-graph.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ jobs:
7171
- name: Assure that either artifacts-upload-name or sources-upload-name is set
7272
if: inputs.artifacts-upload-name == '' && inputs.sources-upload-name == ''
7373
run: echo "Please specify either the input parameter 'artifacts-upload-name' or 'sources-upload-name'."; exit 1
74-
74+
75+
- name: (Debug) Log all variables
76+
if: runner.debug == '1'
77+
run: echo "DEBUG log all variables -> $GITHUB_CONTEXT"
78+
7579
- name: Checkout code-graph-analysis-pipeline
7680
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
7781
with:
@@ -143,6 +147,12 @@ jobs:
143147
name: ${{ inputs.artifacts-upload-name }}
144148
path: temp/${{ inputs.analysis-name }}/artifacts
145149

150+
- name: (Debug) Log folder structure of temp directory
151+
if: runner.debug == '1'
152+
working-directory: temp
153+
run: |
154+
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
155+
146156
- name: (Code Analysis) Analyze ${{ inputs.analysis-name }}
147157
working-directory: temp/${{ inputs.analysis-name }}
148158
# Shell type can be skipped if jupyter notebook analysis-results (and therefore conda) aren't needed

0 commit comments

Comments
 (0)