Skip to content

Commit 91c7988

Browse files
committed
gh actions lint enable dir listing only for debug logging
1 parent 5434a7a commit 91c7988

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
run: ./configure --enable-rdm-tests --enable-ja-rule --enable-e133
3939
- name: Build
4040
run: make builtfiles VERBOSE=1
41+
- name: Display structure of the built files
42+
if: env.ACTIONS_STEP_DEBUG == 'true'
43+
run: ls -alR
4144
- name: Archive artifacts to speed up slow GH Actions upload/download
4245
shell: bash
4346
# If the file does not exist when tar excludes it, then it will not
@@ -70,6 +73,7 @@ jobs:
7073
tar -xvzf ola-debian-stable-built-source-tree.tar.gz .
7174
rm ola-debian-stable-built-source-tree.tar.gz
7275
- name: Display structure of extracted files
76+
if: env.ACTIONS_STEP_DEBUG == 'true'
7377
run: ls -alR
7478
- name: Update package database
7579
run: apt-get update -y
@@ -99,6 +103,7 @@ jobs:
99103
tar -xvzf ola-debian-stable-built-source-tree.tar.gz .
100104
rm ola-debian-stable-built-source-tree.tar.gz
101105
- name: Display structure of extracted files
106+
if: env.ACTIONS_STEP_DEBUG == 'true'
102107
run: ls -alR
103108
- name: Enable Problem Matcher for GitHub annotations
104109
run: echo "::add-matcher::.github/problem-matcher-lint-generic-nolints.json"
@@ -124,6 +129,7 @@ jobs:
124129
tar -xvzf ola-debian-stable-built-source-tree.tar.gz .
125130
rm ola-debian-stable-built-source-tree.tar.gz
126131
- name: Display structure of extracted files
132+
if: env.ACTIONS_STEP_DEBUG == 'true'
127133
run: ls -alR
128134
- name: Update package database
129135
run: apt-get update -y
@@ -165,6 +171,7 @@ jobs:
165171
tar -xvzf ola-debian-stable-built-source-tree.tar.gz .
166172
rm ola-debian-stable-built-source-tree.tar.gz
167173
- name: Display structure of extracted files
174+
if: env.ACTIONS_STEP_DEBUG == 'true'
168175
run: ls -alR
169176
- name: Update package database
170177
run: apt-get update -y

0 commit comments

Comments
 (0)