File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,31 @@ jobs:
173173 env :
174174 INNOSETUP_PATH : ' C:\\Program Files (x86)\\Inno Setup 6\\iscc.exe'
175175 run : java Exec.java build windows x64 innosetup
176+ - name : Azure Trusted Signing
177+ if : ${{ vars.AZURE_CERT_PROFILE_NAME }}
178+ uses : azure/trusted-signing-action@1d365fec12862c4aa68fcac418143d73f0cea293
179+ with :
180+ azure-tenant-id : ${{ secrets.AZURE_TENANT_ID }}
181+ azure-client-id : ${{ secrets.AZURE_CLIENT_ID }}
182+ azure-client-secret : ${{ secrets.AZURE_CLIENT_SECRET }}
183+ endpoint : ${{ secrets.AZURE_ENDPOINT }}
184+ trusted-signing-account-name : ${{ secrets.AZURE_CODE_SIGNING_NAME }}
185+ certificate-profile-name : ${{ vars.AZURE_CERT_PROFILE_NAME }}
186+ files-folder : dist
187+ files-folder-filter : exe
188+ file-digest : SHA256
189+ timestamp-rfc3161 : http://timestamp.acs.microsoft.com
190+ timestamp-digest : SHA256
191+ - name : Hash Signed File
192+ if : ${{ vars.AZURE_CERT_PROFILE_NAME }}
193+ shell : bash
194+ working-directory : ./dist
195+ run : |
196+ EXE=$(echo *.exe)
197+ echo "Changing hash for ${EXE}"
198+ echo "Previous hash : " $(cat ${EXE}.sha256)
199+ sha256sum ${EXE} > ${EXE}.sha256
200+ echo "Updated hash : " $(cat ${EXE}.sha256)
176201 - name : Upload
177202 uses : actions/upload-artifact@v5
178203 with :
You can’t perform that action at this time.
0 commit comments