Skip to content

Commit

Permalink
[INFRA] Always create comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Aug 19, 2024
1 parent 1fcf9a6 commit b49b5f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cron_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
run: make -k 2>&1 | tee build.log

- name: Create comment body
if: always()
id: comment-body
run: |
if [[ "${{ job.status }}" == "success" ]]; then
Expand All @@ -84,13 +85,15 @@ jobs:
GH_REPO: ${{ github.repository }}

- name: Find Comment
if: always()
uses: peter-evans/find-comment@v3
id: find_comment
with:
issue-number: ${{ env.ISSUE }}
body-includes: ${{ matrix.build }} on ${{ matrix.compiler }}

- name: Update comment
if: always()
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.find_comment.outputs.comment-id }}
Expand Down

0 comments on commit b49b5f1

Please sign in to comment.