Skip to content

Commit 53e6093

Browse files
committed
test: [#29] fix debug steps in test workflow
1 parent a0b66cc commit 53e6093

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ jobs:
7979
job_payload: '{"field": "value", "state": "pending"}'
8080

8181
- name: Debug
82-
run: git log --show-signature
82+
run: |
83+
cd ${{ runner.temp }}/temp_git_dir
84+
git log --show-signature
8385
8486
- name: Mark job as started
8587
id: start-job
@@ -92,7 +94,9 @@ jobs:
9294
job_payload: '{"field": "value", "state": "started"}'
9395

9496
- name: Debug
95-
run: git log --show-signature
97+
run: |
98+
cd ${{ runner.temp }}/temp_git_dir
99+
git log --show-signature
96100
97101
- name: Mutual exclusion code
98102
if: ${{ steps.create-job.outputs.job_created == 'true' }}
@@ -108,7 +112,9 @@ jobs:
108112
action: 'next-job'
109113

110114
- name: Debug
111-
run: git log --show-signature
115+
run: |
116+
cd ${{ runner.temp }}/temp_git_dir
117+
git log --show-signature
112118
113119
- name: Mark job as finished
114120
id: finish-job
@@ -121,7 +127,9 @@ jobs:
121127
job_payload: '{"field": "value", "state": "finished"}'
122128

123129
- name: Debug
124-
run: git log --show-signature
130+
run: |
131+
cd ${{ runner.temp }}/temp_git_dir
132+
git log --show-signature
125133
126134
- name: Show new commits
127135
if: ${{ steps.finish-job.outputs.job_created == 'true' }}

0 commit comments

Comments
 (0)