Skip to content

Commit 7851cef

Browse files
committed
Add debug step to action
1 parent 7996c14 commit 7851cef

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,20 @@ jobs:
4848
- name: Check out code
4949
uses: actions/checkout@master
5050
- name: Install Chef
51-
uses: actionshub/chef-install@master
51+
uses: actionshub/chef-install@main
5252
- name: Dokken
53-
uses: actionshub/kitchen-dokken@master
53+
uses: actionshub/kitchen-dokken@main
5454
env:
5555
CHEF_LICENSE: accept-no-persist
5656
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
5757
with:
5858
suite: ${{ matrix.suite }}
5959
os: ${{ matrix.os }}
60+
- name: Print debug output on failure
61+
if: failure()
62+
run: |
63+
set -x
64+
sudo journalctl -l --since today
65+
sudo docker version
66+
sudo docker info
67+
KITCHEN_LOCAL_YAML=kitchen.dokken.yml /usr/bin/kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "journalctl -l"

0 commit comments

Comments
 (0)