env:
TARGET: ${{ matrix.target.target }}
+ BUILD_TYPE: ${{ matrix.build_type.name }}
DEBUG: 0
# When downloading python from sigrok.org, smth is wrong with the cert
WGET: "wget -c --quiet --no-check-certificate"
mv pulseview-*installer.exe pulseview-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-${{ matrix.build_type.name }}-installer.exe
- name: Upload artifact
- id: upload_pulseview_${{ matrix.target.target }}_${{ matrix.build_type.name }}_mxe_artifact
+ id: upload_pulseview_${{ env.TARGET }}_${{ env.BUILD_TYPE }}_mxe_artifact
uses: actions/upload-artifact@v4
with:
name: artifact-pulseview-${{ matrix.target.target }}-${{ matrix.build_type.name }}-mxe
uses: actions/github-script@v7
env:
PR_NOTES: |
- pulseview-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-${{ matrix.build_type.name }}-installer.exe created: ${{ env[format('steps.upload_pulseview-{0}_{1}_mxe_artifact.outputs.artifact-url', matrix.target.target, matrix.build_type.name)] }}
+ pulseview-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-${{ matrix.build_type.name }}-installer.exe created: ${{ env[format('steps.upload_pulseview-{0}_{1}_mxe_artifact.outputs.artifact-url', env.TARGET, env.BUILD_TYPE)] }}
with:
script: |
github.rest.issues.createComment({
mv sigrok-cli-*installer.exe sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug-installer.exe
- name: Upload artifact
- id: upload_sigrok-cli_${{ matrix.target.target }}_debug_mxe_artifact
+ id: upload_sigrok-cli_${{ env.TARGET }}_debug_mxe_artifact
uses: actions/upload-artifact@v4
with:
name: artifact-sigrok-cli-${{ matrix.target.target }}-mxe
uses: actions/github-script@v7
env:
PR_NOTES: |
- sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug-installer.exe created: ${{ env[format('steps.upload_sigrok-cli_{0}_debug_mxe_artifact.outputs.artifact-url', matrix.target.target)] }}
+ sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug-installer.exe created: ${{ env[format('steps.upload_sigrok-cli_{0}_debug_mxe_artifact.outputs.artifact-url', env.TARGET)] }}
with:
script: |
github.rest.issues.createComment({
env:
TARGET: ${{ matrix.target.target }}
+ BUILD_TYPE: ${{ matrix.build_type.name }}
CC: ${{ matrix.target.cc }}
CXX: ${{ matrix.target.cxx }}
LD: ${{ matrix.target.ld }}
mv PulseView-*.AppImage pulseview-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-${{ matrix.build_type.name }}.appimage
- name: Upload artifact
- id: upload_pulseview_${{ matrix.target.target }}_${{ matrix.build_type.name }}_appimage_artifact
+ id: upload_pulseview_${{ env.TARGET }}_${{ env.BUILD_TYPE }}_appimage_artifact
uses: actions/upload-artifact@v4
with:
name: artifact-pulseview-${{ matrix.target.target }}-${{ matrix.build_type.name }}-appimage
uses: actions/github-script@v7
env:
PR_NOTES: |
- pulseview-${{ matrix.target.target }}-${{ matrix.build_type.name }}-appimage created: ${{ env[format('steps.upload_pulseview-{0}_{1}_appimage_artifact.outputs.artifact-url', matrix.target.target, matrix.build_type.name)] }}
+ pulseview-${{ matrix.target.target }}-${{ matrix.build_type.name }}-appimage created: ${{ env[format('steps.upload_pulseview-{0}_{1}_appimage_artifact.outputs.artifact-url', env.TARGET, env.BUILD_TYPE)] }}
with:
script: |
github.rest.issues.createComment({
mv sigrok-cli-*.AppImage sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug.appimage
- name: Upload artifact
- id: upload_sigrok-cli_${{ matrix.target.target }}_appimage_artifact
+ id: upload_sigrok-cli_${{ env.TARGET }}_appimage_artifact
uses: actions/upload-artifact@v4
with:
name: artifact-sigrok-cli-${{ matrix.target.target }}-appimage
uses: actions/github-script@v7
env:
PR_NOTES: |
- sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug.appimage created: ${{ env[format('steps.upload_sigrok-cli_{0}_appimage_artifact.outputs.artifact-url', matrix.target.target)] }}
+ sigrok-cli-${{ env.ARTIFACT_VERSION }}-${{ matrix.target.target }}-debug.appimage created: ${{ env[format('steps.upload_sigrok-cli_{0}_appimage_artifact.outputs.artifact-url', env.TARGET)] }}
with:
script: |
github.rest.issues.createComment({