Skip to content

Commit e53b0b5

Browse files
committed
order
1 parent b07db61 commit e53b0b5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/twister.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,14 @@ jobs:
217217
if: success() || failure()
218218

219219
steps:
220+
- name: Check out source code
221+
if: needs.twister-build.result == 'failure'
222+
uses: actions/checkout@v4
223+
with:
224+
ref: ${{ github.event.pull_request.head.sha }}
225+
fetch-depth: 0
226+
persist-credentials: false
227+
220228
- name: Download Artifacts
221229
uses: actions/download-artifact@v4
222230
with:
@@ -244,14 +252,6 @@ jobs:
244252
files: "**/twister.xml"
245253
comment_mode: off
246254

247-
- name: Check out source code
248-
if: needs.twister-build.result == 'failure'
249-
uses: actions/checkout@v4
250-
with:
251-
ref: ${{ github.event.pull_request.head.sha }}
252-
fetch-depth: 0
253-
persist-credentials: false
254-
255255
- name: Analyze Twister Reports
256256
if: needs.twister-build.result == 'failure'
257257
run: |

0 commit comments

Comments
 (0)