Skip to content

Commit

Permalink
build.yml: Change PR message output to a list
Browse files Browse the repository at this point in the history
  • Loading branch information
abraxa committed Aug 28, 2024
1 parent 6a2fe31 commit 97becfb
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 97becfb

Please sign in to comment.