Skip to content

Commit

Permalink
ci: add job summary (#51)
Browse files Browse the repository at this point in the history
* ci: add job summary

* ci: add job summary

* chore: fix syntax

* chore: fix syntax
  • Loading branch information
sky172839465 authored Jan 27, 2024
1 parent b5a2c48 commit 7189ad0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ jobs:
check_for_duplicate_msg: true
delete_prev_regex_msg: "Build Result"

- name: Add job summary
if: ${{ always() }}
run: |
echo "${{ env.BUILD_COMMENT }}" >> $GITHUB_STEP_SUMMARY
- name: Last check build status
if: ${{ always() }}
uses: actions/github-script@v6
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ jobs:
body: ${{ env.BUILD_COMMENT }}
edit-mode: replace

- name: Add job summary
if: ${{ always() }}
run: |
echo "${{ env.BUILD_COMMENT }}" >> $GITHUB_STEP_SUMMARY
- name: Last check build status
if: ${{ always() }}
uses: actions/github-script@v6
Expand Down

0 comments on commit 7189ad0

Please sign in to comment.