mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2025-08-16 16:35:52 +00:00
sign
This commit is contained in:
parent
27d8f9cbb4
commit
75203d2e4e
28
.github/workflows/build.yaml
vendored
28
.github/workflows/build.yaml
vendored
@ -105,15 +105,27 @@ jobs:
|
|||||||
scoop bucket add extras
|
scoop bucket add extras
|
||||||
scoop install nsis
|
scoop install nsis
|
||||||
|
|
||||||
- run: rustup default nightly
|
- name: Build UI setup file
|
||||||
- run: cargo build --release
|
run: |
|
||||||
working-directory: ./ui
|
rustup default nightly
|
||||||
- run: xcopy /y target\x86_64-pc-windows-msvc\release\*.exe ui\setup\bin\
|
cargo build --release
|
||||||
- run: xcopy /y ui\target\release\*.exe ui\setup\
|
xcopy /y target\x86_64-pc-windows-msvc\release\*.exe setup\bin\
|
||||||
- run: mkdir ui\setup\logs
|
xcopy /y target\release\*.exe setup\
|
||||||
- run: makensis /V1 setup.nsi
|
mkdir setup\logs
|
||||||
|
makensis /V1 setup.nsi
|
||||||
|
mkdir SignOutput
|
||||||
|
mv RustDeskServer.Setup.exe SignOutput\
|
||||||
working-directory: ./ui
|
working-directory: ./ui
|
||||||
|
|
||||||
|
- name: Sign UI setup file
|
||||||
|
uses: GermanBluefox/code-sign-action@v7
|
||||||
|
with:
|
||||||
|
certificate: '${{ secrets.WINDOWS_PFX_BASE64 }}'
|
||||||
|
password: '${{ secrets.WINDOWS_PFX_PASSWORD }}'
|
||||||
|
certificatesha1: '${{ secrets.WINDOWS_PFX_SHA1_THUMBPRINT }}'
|
||||||
|
folder: './ui/SignOutput'
|
||||||
|
recursive: false
|
||||||
|
|
||||||
- name: Publish Artifacts
|
- name: Publish Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -122,7 +134,7 @@ jobs:
|
|||||||
target\x86_64-pc-windows-msvc\release\hbbr.exe
|
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\hbbs.exe
|
||||||
target\x86_64-pc-windows-msvc\release\rustdesk-utils.exe
|
target\x86_64-pc-windows-msvc\release\rustdesk-utils.exe
|
||||||
ui\RustDeskServer.Setup.exe
|
ui\SignOutput\RustDeskServer.Setup.exe
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
# github (draft) release with all binaries
|
# github (draft) release with all binaries
|
||||||
|
Loading…
x
Reference in New Issue
Block a user