mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2025-01-23 19:11:34 +08:00
sign all exe
This commit is contained in:
parent
d0841f7558
commit
14301a7d5f
16
.github/workflows/build.yaml
vendored
16
.github/workflows/build.yaml
vendored
@ -105,6 +105,15 @@ jobs:
|
||||
scoop bucket add extras
|
||||
scoop install nsis
|
||||
|
||||
- name: Sign exe files
|
||||
uses: GermanBluefox/code-sign-action@v7
|
||||
with:
|
||||
certificate: '${{ secrets.WINDOWS_PFX_BASE64 }}'
|
||||
password: '${{ secrets.WINDOWS_PFX_PASSWORD }}'
|
||||
certificatesha1: '${{ secrets.WINDOWS_PFX_SHA1_THUMBPRINT }}'
|
||||
folder: 'target\x86_64-pc-windows-msvc\release'
|
||||
recursive: false
|
||||
|
||||
- name: Build UI setup file
|
||||
run: |
|
||||
rustup default nightly
|
||||
@ -115,6 +124,7 @@ jobs:
|
||||
makensis /V1 setup.nsi
|
||||
mkdir SignOutput
|
||||
mv RustDeskServer.Setup.exe SignOutput\
|
||||
mv ..\target\x86_64-pc-windows-msvc\release\*.exe SignOutput\
|
||||
working-directory: ./ui
|
||||
|
||||
- name: Sign UI setup file
|
||||
@ -131,9 +141,9 @@ jobs:
|
||||
with:
|
||||
name: binaries-windows-x86_64
|
||||
path: |
|
||||
target\x86_64-pc-windows-msvc\release\hbbr.exe
|
||||
target\x86_64-pc-windows-msvc\release\hbbs.exe
|
||||
target\x86_64-pc-windows-msvc\release\rustdesk-utils.exe
|
||||
ui\SignOutput\hbbr.exe
|
||||
ui\SignOutput\hbbs.exe
|
||||
ui\SignOutput\rustdesk-utils.exe
|
||||
ui\SignOutput\RustDeskServer.Setup.exe
|
||||
if-no-files-found: error
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user