mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2025-01-24 03:23:36 +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 bucket add extras
|
||||||
scoop install nsis
|
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
|
- name: Build UI setup file
|
||||||
run: |
|
run: |
|
||||||
rustup default nightly
|
rustup default nightly
|
||||||
@ -115,6 +124,7 @@ jobs:
|
|||||||
makensis /V1 setup.nsi
|
makensis /V1 setup.nsi
|
||||||
mkdir SignOutput
|
mkdir SignOutput
|
||||||
mv RustDeskServer.Setup.exe SignOutput\
|
mv RustDeskServer.Setup.exe SignOutput\
|
||||||
|
mv ..\target\x86_64-pc-windows-msvc\release\*.exe SignOutput\
|
||||||
working-directory: ./ui
|
working-directory: ./ui
|
||||||
|
|
||||||
- name: Sign UI setup file
|
- name: Sign UI setup file
|
||||||
@ -131,9 +141,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: binaries-windows-x86_64
|
name: binaries-windows-x86_64
|
||||||
path: |
|
path: |
|
||||||
target\x86_64-pc-windows-msvc\release\hbbr.exe
|
ui\SignOutput\hbbr.exe
|
||||||
target\x86_64-pc-windows-msvc\release\hbbs.exe
|
ui\SignOutput\hbbs.exe
|
||||||
target\x86_64-pc-windows-msvc\release\rustdesk-utils.exe
|
ui\SignOutput\rustdesk-utils.exe
|
||||||
ui\SignOutput\RustDeskServer.Setup.exe
|
ui\SignOutput\RustDeskServer.Setup.exe
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user