Skip to content

Commit 9914f26

Browse files
committed
Try printing Chocolatey log to determine why builds are failing
1 parent f628572 commit 9914f26

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/windows_test_npm_install.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,13 @@ jobs:
230230
args: install -y visualstudio2019buildtools visualstudio2019-workload-vctools
231231
timeout-minutes: 10
232232

233+
# View the log file if the previous step fails:
234+
- name: 'View log file'
235+
if: failure()
236+
run: |
237+
cat 'C:\ProgramData\chocolatey\logs\chocolatey.log'
238+
timeout-minutes: 5
239+
233240
# Configure npm:
234241
- name: 'Configure npm'
235242
run: |

0 commit comments

Comments
 (0)