MINOR Fix build scan artifact name in ci-complete (#17863)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
David Arthur 2024-11-19 09:48:37 -05:00 committed by GitHub
parent 615c8c0e11
commit a334b1b6fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View File

@ -337,7 +337,7 @@ if __name__ == "__main__":
report_md = "No report available. JUNIT_REPORT_URL was missing." report_md = "No report available. JUNIT_REPORT_URL was missing."
summary = (f"{total_run} tests cases run in {duration}.\n\n" summary = (f"{total_run} tests cases run in {duration}.\n\n"
f"{total_success} {PASSED}, {total_failures} {FAILED}, " f"{total_success} {PASSED}, {total_failures} {FAILED}, "
f"{total_flaky} {FLAKY}, {total_skipped} {SKIPPED}, {len(quarantined_table)} {QUARANTINED}, and {total_errors} errors.<br/>") f"{total_flaky} {FLAKY}, {total_skipped} {SKIPPED}, {len(quarantined_table)} {QUARANTINED}, and {total_errors} errors.")
print("## Test Summary\n") print("## Test Summary\n")
print(f"{summary}\n\n{report_md}\n") print(f"{summary}\n\n{report_md}\n")
@ -398,8 +398,7 @@ if __name__ == "__main__":
print("\n</details>") print("\n</details>")
logger.debug("::endgroup::") logger.debug("::endgroup::")
# Create a horizontal rule print("<hr/>")
print("-"*80)
# Print special message if there was a timeout # Print special message if there was a timeout
exit_code = get_env("GRADLE_EXIT_CODE", int) exit_code = get_env("GRADLE_EXIT_CODE", int)

View File

@ -67,7 +67,7 @@ jobs:
with: with:
github-token: ${{ github.token }} github-token: ${{ github.token }}
run-id: ${{ github.event.workflow_run.id }} run-id: ${{ github.event.workflow_run.id }}
name: ${{ matrix.artifact-prefix }}-${{ matrix.java }} name: ${{ matrix.artifact-prefix }}${{ matrix.java }}
path: ~/.gradle/build-scan-data # This is where Gradle buffers unpublished build scan data when --no-scan is given path: ~/.gradle/build-scan-data # This is where Gradle buffers unpublished build scan data when --no-scan is given
- name: Handle missing scan - name: Handle missing scan
if: ${{ steps.download-build-scan.outcome == 'failure' }} if: ${{ steps.download-build-scan.outcome == 'failure' }}