From 1f141b1c119316b927339d0e9c357933aa5b9a27 Mon Sep 17 00:00:00 2001 From: Jean Brito Date: Wed, 21 Aug 2024 13:14:00 -0300 Subject: [PATCH] separate comments --- .github/workflows/pull-request-build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request-build.yml b/.github/workflows/pull-request-build.yml index 73b201f20..4cdbfac27 100644 --- a/.github/workflows/pull-request-build.yml +++ b/.github/workflows/pull-request-build.yml @@ -118,7 +118,7 @@ jobs: - name: Generate Artifact Links id: generate-links run: | - echo "### Artifacts for ${{ matrix.os }}" >> artifact-links.md + echo "### Artifacts for ${{ matrix.os }}" > artifact-links.md echo "- [${{ runner.os }} Artifacts](${{ steps.get-artifact-url.outputs.artifact_url }})" >> artifact-links.md - name: Verify Artifact Links File @@ -129,9 +129,10 @@ jobs: echo "No artifacts found for this run." > artifact-links.md fi - - name: Update Pull Request Comment - if: always() + - name: Post Separate PR Comment for Each OS uses: marocchino/sticky-pull-request-comment@v2 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} path: artifact-links.md + recreate: true + append: false