Skip to content

Commit db402ca

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

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Check out code
1515
uses: actions/checkout@master
1616
- name: Run Chef Delivery
17-
uses: actionshub/chef-delivery@main
17+
uses: actionshub/chef-delivery@master
1818
env:
1919
CHEF_LICENSE: accept-no-persist
2020

@@ -57,3 +57,11 @@ jobs:
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)