Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,27 @@ jobs:
run: Tools\QtInstallerFramework\4.7\bin\binarycreator.exe -c DFTFringe\DFTFringeInstaller\config\config.xml -p DFTFringe\DFTFringeInstaller\packages DFTFringeInstaller_${{env.WORKFLOW_VERSION}}

- name: Upload Artifact
id: upload_artifact
uses: actions/upload-artifact@v4
with:
name: DFTFringe-windows-build-artifact
path: |
DFTFringeInstaller_${{env.WORKFLOW_VERSION}}.exe
Z_DFTFringe.exe.debug

- name: Get short SHA
id: short_sha
shell: bash
run: |
SHA="${{ github.event.pull_request.head.sha }}"
echo "short_sha=${SHA::7}" >> $GITHUB_OUTPUT

- name: Comment PR with artifact link
if: github.event_name == 'pull_request'
uses: peter-evans/create-or-update-comment@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.pull_request.number }}
body: |
🚀 New build available for commit `${{ steps.short_sha.outputs.short_sha }}`
[Download installer here](${{ steps.upload_artifact.outputs.artifact-url }})
Loading