Skip to content

Commit 682e331

Browse files
committed
step
1 parent 9b87a58 commit 682e331

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/package_core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ jobs:
258258
if: ${{ success() || failure() }}
259259
run: |
260260
sed -i -e 's!/home/runner/.arduino15/packages/arduino/hardware/zephyr/[^/]*/!!g' sketches-reports/${REPORT_FILE}
261-
cat sketches-reports/${REPORT_FILE} | jq -cr ".boards[0].sketches[0] += { job_id: ${{ steps.job_id.outputs.result }} }" > ${REPORT_FILE} && mv ${REPORT_FILE} sketches-reports/
261+
cat sketches-reports/${REPORT_FILE} | jq -cr ". += { job_id: ${{ steps.job_id.outputs.result }} }" > ${REPORT_FILE} && mv ${REPORT_FILE} sketches-reports/
262262
263263
- uses: actions/upload-artifact@v4
264264
if: ${{ success() || failure() }}

extra/ci_collect_logs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ for artifact in $ARTIFACTS ; do
7171
ARTIFACT_STATUS="fire"
7272
else
7373
REPORTS=$(jq -cr '.boards[0].sketches' $REPORT_FILE)
74-
JOB_ID=$(echo $REPORTS | jq -cr '.[0].job_id')
74+
JOB_ID=$(jq -cr '.job_id' $REPORT_FILE)
7575
ARTIFACT_LINK="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}/job/${JOB_ID}#step:5"
7676

7777
SKETCH_COUNT=$(echo $REPORTS | jq -cr 'length')

0 commit comments

Comments
 (0)