Skip to content

Commit 1359bce

Browse files
ci: sign Windows heidisql.exe via SignPath GitHub Action
Co-authored-by: ansgarbecker <ansgarbecker@users.noreply.github.com>
1 parent 816cbd2 commit 1359bce

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

‎.github/workflows/lazarus.yaml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,32 @@ jobs:
9494
exit 0
9595
9696
- name: Upload binaries Windows
97+
id: upload-unsigned-win64
9798
if: ${{ matrix.operating-system == 'windows-latest' && matrix.lazarus-versions == 'stable' }}
9899
uses: actions/upload-artifact@v6
99100
with:
100101
name: ${{ matrix.operating-system }}-WIN64
101102
path: out/win64/heidisql.exe
102103

104+
- name: Sign heidisql.exe via SignPath
105+
if: ${{ matrix.operating-system == 'windows-latest' && matrix.lazarus-versions == 'stable' && vars.SIGNPATH_ORGANIZATION_ID != '' }}
106+
uses: signpath/github-action-submit-signing-request@v2
107+
with:
108+
api-token: ${{ secrets.SIGNPATH_API_TOKEN }}
109+
organization-id: ${{ vars.SIGNPATH_ORGANIZATION_ID }}
110+
project-slug: HeidiSQL
111+
signing-policy-slug: test-signing
112+
github-artifact-id: ${{ steps.upload-unsigned-win64.outputs.artifact-id }}
113+
wait-for-completion: true
114+
output-artifact-directory: signed
115+
116+
- name: Upload signed Windows binary
117+
if: ${{ matrix.operating-system == 'windows-latest' && matrix.lazarus-versions == 'stable' && vars.SIGNPATH_ORGANIZATION_ID != '' }}
118+
uses: actions/upload-artifact@v6
119+
with:
120+
name: ${{ matrix.operating-system }}-WIN64-signed
121+
path: signed/heidisql.exe
122+
103123
- name: Build HeidiSQL (Ubuntu GTK)
104124
if: ${{ matrix.operating-system == 'ubuntu-latest' }}
105125
run: |

0 commit comments

Comments
 (0)