aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrustdesk <[email protected]>2023-02-14 18:20:05 +0800
committerrustdesk <[email protected]>2023-02-14 18:20:05 +0800
commit75203d2e4e14f3e01d6e30eea3c7b8a84159e5eb (patch)
treed127f466836619fe567148783f5acb5fa9674a57
parent27d8f9cbb498dd5b3bffd8b2596b134fb38fc937 (diff)
downloadrustdesk-server-75203d2e4e14f3e01d6e30eea3c7b8a84159e5eb.tar.gz
rustdesk-server-75203d2e4e14f3e01d6e30eea3c7b8a84159e5eb.zip
sign
-rw-r--r--.github/workflows/build.yaml28
1 files changed, 20 insertions, 8 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index fdd221f..7ffe35a 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -105,15 +105,27 @@ jobs:
scoop bucket add extras
scoop install nsis
- - run: rustup default nightly
- - run: cargo build --release
- working-directory: ./ui
- - run: xcopy /y target\x86_64-pc-windows-msvc\release\*.exe ui\setup\bin\
- - run: xcopy /y ui\target\release\*.exe ui\setup\
- - run: mkdir ui\setup\logs
- - run: makensis /V1 setup.nsi
+ - name: Build UI setup file
+ run: |
+ rustup default nightly
+ cargo build --release
+ xcopy /y target\x86_64-pc-windows-msvc\release\*.exe setup\bin\
+ xcopy /y target\release\*.exe setup\
+ mkdir setup\logs
+ makensis /V1 setup.nsi
+ mkdir SignOutput
+ mv RustDeskServer.Setup.exe SignOutput\
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
uses: actions/upload-artifact@v3
with:
@@ -122,7 +134,7 @@ jobs:
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\RustDeskServer.Setup.exe
+ ui\SignOutput\RustDeskServer.Setup.exe
if-no-files-found: error
# github (draft) release with all binaries