]> sigrok.org Git - sigrok-build.git/commitdiff
build.yml: Change PR message output to a list
authorSoeren Apel <redacted>
Wed, 28 Aug 2024 16:51:34 +0000 (18:51 +0200)
committerSoeren Apel <redacted>
Wed, 28 Aug 2024 16:51:34 +0000 (18:51 +0200)
.github/workflows/build.yml

index 232d56fe0cb909fed59f4ff18b8090fbb0c9d951..c693291f744392c7b3d94b5a2ada74d41997e621 100644 (file)
@@ -141,7 +141,7 @@ jobs:
         # Only relevant for pull requests
         if: (github.event_name == 'pull_request')
         run: |
-          echo "PR_LINKS= | pulseview-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-${{ matrix.build_type.name }}-installer.exe | ${{ steps.upload.outputs.artifact-url }} |" >> $GITHUB_OUTPUT
+          echo "PR_LINKS=[pulseview-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-${{ matrix.build_type.name }}-installer.exe](${{ steps.upload.outputs.artifact-url }})" >> $GITHUB_OUTPUT
 
 
   build_sigrok-cli_mxe:
@@ -244,7 +244,7 @@ jobs:
         # Only relevant for pull requests
         if: (github.event_name == 'pull_request')
         run: |
-          echo "PR_LINKS= | sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug-installer.exe | ${{ steps.upload.outputs.artifact-url }} |" >> $GITHUB_OUTPUT
+          echo "PR_LINKS=[sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug-installer.exe](${{ steps.upload.outputs.artifact-url }})" >> $GITHUB_OUTPUT
 
 
   build_pulseview_appimage:
@@ -374,7 +374,7 @@ jobs:
         # Only relevant for pull requests
         if: (github.event_name == 'pull_request')
         run: |
-          echo "PR_LINKS= | pulseview-${{ matrix.target.target }}-${{ matrix.build_type.name }}-appimage | ${{ steps.upload.outputs.artifact-url }} |" >> $GITHUB_OUTPUT
+          echo "PR_LINKS=[pulseview-${{ matrix.target.target }}-${{ matrix.build_type.name }}-appimage](${{ steps.upload.outputs.artifact-url }})" >> $GITHUB_OUTPUT
 
 
   build_sigrok-cli_appimage:
@@ -497,7 +497,7 @@ jobs:
         # Only relevant for pull requests
         if: (github.event_name == 'pull_request')
         run: |
-          echo "PR_LINKS= | sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug.appimage | ${{ steps.upload.outputs.artifact-url }} |" >> $GITHUB_OUTPUT
+          echo "PR_LINKS=[sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug.appimage](${{ steps.upload.outputs.artifact-url }})" >> $GITHUB_OUTPUT
 
 
   build_pulseview_macos:
@@ -605,7 +605,7 @@ jobs:
         # Only relevant for pull requests
         if: (github.event_name == 'pull_request')
         run: |
-          echo "PR_LINKS= | pulseview-${{ env.ARTIFACT_VERSION }}-${{ env.TARGET }}.dmg | ${{ steps.upload.outputs.artifact-url }} |" >> $GITHUB_OUTPUT
+          echo "PR_LINKS=[pulseview-${{ env.ARTIFACT_VERSION }}-${{ env.TARGET }}.dmg](${{ steps.upload.outputs.artifact-url }})" >> $GITHUB_OUTPUT
 
 
   build_sigrok-cli_macos:
@@ -697,7 +697,7 @@ jobs:
         # Only relevant for pull requests
         if: (github.event_name == 'pull_request')
         run: |
-          echo "PR_LINKS= | sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ env.TARGET }}.dmg | ${{ steps.upload.outputs.artifact-url }} |" >> $GITHUB_OUTPUT
+          echo "PR_LINKS=[sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ env.TARGET }}.dmg](${{ steps.upload.outputs.artifact-url }})" >> $GITHUB_OUTPUT
 
 
   continuous_release_pulseview:
@@ -811,9 +811,6 @@ jobs:
         env:
           PR_COMMENT: |-
             ## PulseView binaries created
-
-            | Build | Link |
-            | ----- | ---- |
             ${{ needs.build_pulseview_appimage.outputs.pr_links }}
             ${{ needs.build_pulseview_mxe.outputs.pr_links }}
             ${{ needs.build_pulseview_macos.outputs.pr_links }}
@@ -848,9 +845,6 @@ jobs:
         env:
           PR_COMMENT: |-
             ## sigrok-cli binaries created
-
-            | Build | Link |
-            | ----- | ---- |
             ${{ needs.build_sigrok-cli_appimage.outputs.pr_links }}
             ${{ needs.build_sigrok-cli_mxe.outputs.pr_links }}
             ${{ needs.build_sigrok-cli_macos.outputs.pr_links }}