Skip to content

Commit 1b1faae

Browse files
authored
Fix reporting of retried jobs. (#1038)
* Fix reporting of retried jobs. * Fix bash command.
1 parent 806770d commit 1b1faae

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/integration_tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,12 @@ jobs:
641641
--token ${{github.token}} \
642642
--actor ${{github.actor}} \
643643
--commit ${{needs.check_and_prepare.outputs.github_ref}} \
644-
--run_id ${{github.run_id}}
644+
--run_id ${{github.run_id}}
645+
- name: Print SDK package info
646+
run: |
647+
if [[ "${{ github.event.inputs.packaged_sdk_run_id }}" != "" ]]; then
648+
echo "run_id: ${{ github.event.inputs.packaged_sdk_run_id }}"
649+
fi
645650
- name: Summarize results into GitHub log
646651
run: python scripts/gha/summarize_test_results.py --dir test_results --github_log
647652

scripts/gha/report_build_status.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def main(argv):
460460
logs_zip = zipfile.ZipFile(logs_compressed_data)
461461
m = get_message_from_github_log(
462462
logs_zip,
463-
r'build-20.*/.*Fetch prebuilt.*\.txt',
463+
r'summarize-results/.*Print SDK package info.*\.txt',
464464
r'run_id: ([0-9]+)$')
465465
if m:
466466
packaging_run = m.group(1)

0 commit comments

Comments
 (0)