68
68
- name : Set artifact version to PR
69
69
if : (github.event_name == 'pull_request')
70
70
run : |
71
- echo "ARTIFACT_VERSION=PR ${{ github.event.pull_request.number }}" >> $GITHUB_ENV
71
+ echo "ARTIFACT_VERSION=pr ${{ github.event.pull_request.number }}" >> $GITHUB_ENV
72
72
73
73
- name : Checkout sigrok-build
74
74
# Cannot use actions/checkout because it always checks out the calling actions' repo, not the one specified
@@ -141,7 +141,7 @@ jobs:
141
141
# Only relevant for pull requests
142
142
if : (github.event_name == 'pull_request')
143
143
run : |
144
- echo "PR_LINKS=\" | pulseview-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-${{ matrix.build_type.name }}-installer.exe | ${{ steps.upload.outputs.artifact-url }}\"" >> $GITHUB_OUTPUT
144
+ echo "PR_LINKS=\" | pulseview-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-${{ matrix.build_type.name }}-installer.exe | ${{ steps.upload.outputs.artifact-url }} | \"" >> $GITHUB_OUTPUT
145
145
146
146
147
147
build_sigrok-cli_mxe :
@@ -176,7 +176,7 @@ jobs:
176
176
- name : Set artifact version to PR
177
177
if : (github.event_name == 'pull_request')
178
178
run : |
179
- echo "ARTIFACT_VERSION=PR ${{ github.event.pull_request.number }}" >> $GITHUB_ENV
179
+ echo "ARTIFACT_VERSION=pr ${{ github.event.pull_request.number }}" >> $GITHUB_ENV
180
180
181
181
- name : Checkout sigrok-build
182
182
# Cannot use actions/checkout because it always checks out the calling actions' repo, not the one specified
@@ -244,7 +244,7 @@ jobs:
244
244
# Only relevant for pull requests
245
245
if : (github.event_name == 'pull_request')
246
246
run : |
247
- echo "PR_LINKS=\" | sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug-installer.exe | ${{ steps.upload.outputs.artifact-url }}\"" >> $GITHUB_OUTPUT
247
+ echo "PR_LINKS=\" | sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug-installer.exe | ${{ steps.upload.outputs.artifact-url }} | \"" >> $GITHUB_OUTPUT
248
248
249
249
250
250
build_pulseview_appimage :
@@ -298,7 +298,7 @@ jobs:
298
298
- name : Set artifact version to PR
299
299
if : (github.event_name == 'pull_request')
300
300
run : |
301
- echo "ARTIFACT_VERSION=PR ${{ github.event.pull_request.number }}" >> $GITHUB_ENV
301
+ echo "ARTIFACT_VERSION=pr ${{ github.event.pull_request.number }}" >> $GITHUB_ENV
302
302
303
303
- name : Update dependencies
304
304
run : |
@@ -374,7 +374,7 @@ jobs:
374
374
# Only relevant for pull requests
375
375
if : (github.event_name == 'pull_request')
376
376
run : |
377
- echo "PR_LINKS=\" | pulseview-${{ matrix.target.target }}-${{ matrix.build_type.name }}-appimage | ${{ steps.upload.outputs.artifact-url }}\"" >> $GITHUB_OUTPUT
377
+ echo "PR_LINKS=\" | pulseview-${{ matrix.target.target }}-${{ matrix.build_type.name }}-appimage | ${{ steps.upload.outputs.artifact-url }} | \"" >> $GITHUB_OUTPUT
378
378
379
379
380
380
build_sigrok-cli_appimage :
@@ -424,7 +424,7 @@ jobs:
424
424
- name : Set artifact version to PR
425
425
if : (github.event_name == 'pull_request')
426
426
run : |
427
- echo "ARTIFACT_VERSION=PR ${{ github.event.pull_request.number }}" >> $GITHUB_ENV
427
+ echo "ARTIFACT_VERSION=pr ${{ github.event.pull_request.number }}" >> $GITHUB_ENV
428
428
429
429
- name : Update dependencies
430
430
run : |
@@ -497,7 +497,7 @@ jobs:
497
497
# Only relevant for pull requests
498
498
if : (github.event_name == 'pull_request')
499
499
run : |
500
- echo "PR_LINKS=\" | sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug.appimage | ${{ steps.upload.outputs.artifact-url }}\"" >> $GITHUB_OUTPUT
500
+ echo "PR_LINKS=\" | sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug.appimage | ${{ steps.upload.outputs.artifact-url }} | \"" >> $GITHUB_OUTPUT
501
501
502
502
503
503
build_pulseview_macos :
@@ -532,7 +532,7 @@ jobs:
532
532
- name : Set artifact version to PR
533
533
if : (github.event_name == 'pull_request')
534
534
run : |
535
- echo "ARTIFACT_VERSION=PR ${{ github.event.pull_request.number }}" >> $GITHUB_ENV
535
+ echo "ARTIFACT_VERSION=pr ${{ github.event.pull_request.number }}" >> $GITHUB_ENV
536
536
537
537
- name : Install dependencies
538
538
run : |
@@ -605,7 +605,7 @@ jobs:
605
605
# Only relevant for pull requests
606
606
if : (github.event_name == 'pull_request')
607
607
run : |
608
- echo "PR_LINKS=\" | pulseview-${{ env.ARTIFACT_VERSION }}-${{ env.TARGET }}.dmg | ${{ steps.upload.outputs.artifact-url }}\"" >> $GITHUB_OUTPUT
608
+ echo "PR_LINKS=\" | pulseview-${{ env.ARTIFACT_VERSION }}-${{ env.TARGET }}.dmg | ${{ steps.upload.outputs.artifact-url }} | \"" >> $GITHUB_OUTPUT
609
609
610
610
611
611
build_sigrok-cli_macos :
@@ -633,7 +633,7 @@ jobs:
633
633
- name : Set artifact version to PR
634
634
if : (github.event_name == 'pull_request')
635
635
run : |
636
- echo "ARTIFACT_VERSION=PR ${{ github.event.pull_request.number }}" >> $GITHUB_ENV
636
+ echo "ARTIFACT_VERSION=pr ${{ github.event.pull_request.number }}" >> $GITHUB_ENV
637
637
638
638
- name : Install dependencies
639
639
run : |
@@ -697,7 +697,7 @@ jobs:
697
697
# Only relevant for pull requests
698
698
if : (github.event_name == 'pull_request')
699
699
run : |
700
- echo "PR_LINKS=\" | sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ env.TARGET }}.dmg | ${{ steps.upload.outputs.artifact-url }}\"" >> $GITHUB_OUTPUT
700
+ echo "PR_LINKS=\" | sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ env.TARGET }}.dmg | ${{ steps.upload.outputs.artifact-url }} | \"" >> $GITHUB_OUTPUT
701
701
702
702
703
703
continuous_release_pulseview :
@@ -800,7 +800,7 @@ jobs:
800
800
runs-on : ubuntu-latest
801
801
802
802
needs :
803
- # Keep in sync with job continuous_release_pulseview and see below, too
803
+ # Keep in sync with job continuous_release_pulseview
804
804
- build_pulseview_mxe
805
805
- build_pulseview_appimage
806
806
- build_pulseview_macos
@@ -813,10 +813,8 @@ jobs:
813
813
## PulseView binaries created
814
814
815
815
| Build | Link |
816
- ---------------------------------------------------
817
- ${{ needs.build_pulseview_appimage.outputs.pr_links }}
818
- ${{ needs.build_pulseview_mxe.outputs.pr_links }}
819
- ${{ needs.build_pulseview_macos.outputs.pr_links }}
816
+ | ----- | ---- |
817
+ ${{ needs.*.outputs.pr_links }}
820
818
821
819
Note: Binaries are removed after 90 days. If necessary, re-trigger a build by commenting '/build'.
822
820
with :
@@ -837,7 +835,7 @@ jobs:
837
835
runs-on : ubuntu-latest
838
836
839
837
needs :
840
- # Keep in sync with job continuous_release_pulseview and see below, too
838
+ # Keep in sync with job continuous_release_sigrok-cli
841
839
- build_sigrok-cli_mxe
842
840
- build_sigrok-cli_appimage
843
841
- build_sigrok-cli_macos
@@ -847,13 +845,11 @@ jobs:
847
845
uses : actions/github-script@v7
848
846
env :
849
847
PR_COMMENT : |-
850
- ## PulseView binaries created
848
+ ## sigrok-cli binaries created
851
849
852
850
| Build | Link |
853
- ---------------------------------------------------
854
- ${{ needs.build_sigrok-cli_appimage.outputs.pr_links }}
855
- ${{ needs.build_sigrok-cli_mxe.outputs.pr_links }}
856
- ${{ needs.build_sigrok-cli_macos.outputs.pr_links }}
851
+ | ----- | ---- |
852
+ ${{ needs.*.outputs.pr_links }}
857
853
858
854
Note: Binaries are removed after 90 days. If necessary, re-trigger a build by commenting '/build'.
859
855
with :
0 commit comments