rustdesk лет назад: 3
Родитель
Сommit
14301a7d5f
1 измененных файлов с 13 добавлено и 3 удалено
  1. 13 3
      .github/workflows/build.yaml

+ 13 - 3
.github/workflows/build.yaml

@@ -105,6 +105,15 @@ jobs:
105 105
           scoop bucket add extras
106 106
           scoop install nsis
107 107
 
108
+      - name: Sign exe files
109
+        uses: GermanBluefox/code-sign-action@v7
110
+        with:
111
+          certificate: '${{ secrets.WINDOWS_PFX_BASE64 }}'
112
+          password: '${{ secrets.WINDOWS_PFX_PASSWORD }}'
113
+          certificatesha1: '${{ secrets.WINDOWS_PFX_SHA1_THUMBPRINT }}'
114
+          folder: 'target\x86_64-pc-windows-msvc\release'
115
+          recursive: false
116
+
108 117
       - name: Build UI setup file
109 118
         run: |
110 119
           rustup default nightly
@@ -115,6 +124,7 @@ jobs:
115 124
           makensis /V1 setup.nsi
116 125
           mkdir SignOutput
117 126
           mv RustDeskServer.Setup.exe SignOutput\
127
+          mv ..\target\x86_64-pc-windows-msvc\release\*.exe SignOutput\
118 128
         working-directory: ./ui
119 129
 
120 130
       - name: Sign UI setup file 
@@ -131,9 +141,9 @@ jobs:
131 141
         with:
132 142
           name: binaries-windows-x86_64
133 143
           path: |
134
-            target\x86_64-pc-windows-msvc\release\hbbr.exe
135
-            target\x86_64-pc-windows-msvc\release\hbbs.exe
136
-            target\x86_64-pc-windows-msvc\release\rustdesk-utils.exe
144
+            ui\SignOutput\hbbr.exe
145
+            ui\SignOutput\hbbs.exe
146
+            ui\SignOutput\rustdesk-utils.exe
137 147
             ui\SignOutput\RustDeskServer.Setup.exe
138 148
           if-no-files-found: error
139 149