@@ -75,12 +75,37 @@ jobs:
7575 candle PasteIntoFile.wxs
7676 light -b ../${{steps.build.outputs.path}} releaseFiles.wixobj PasteIntoFile.wixobj -ext WixNetFxExtension -out Installer.msi
7777 - name : Upload release artifact
78+ id : upload
7879 uses : actions/upload-release-asset@v1
7980 env :
8081 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8182 with :
8283 upload_url : ${{ github.event.release.upload_url }}
8384 asset_path : Installer/Installer.msi
84- asset_name : PasteIntoFile_${{ github.event.release.tag_name }}_installer .msi
85+ asset_name : PasteIntoFile_${{ github.event.release.tag_name }}_installer_unsigned .msi
8586 asset_content_type : application/msi
8687
88+ -
uses :
signpath/[email protected] 89+ with :
90+ api-token : ' ${{ secrets.SIGNPATH_API_TOKEN }}'
91+ organization-id : ' 030bee06-17be-4a2a-a788-9efdbd14a889'
92+ project-slug : ' PasteIntoFile'
93+ signing-policy-slug : ' test-signing'
94+ artifact-configuration-slug : ' installer-zip'
95+ github-artifact-id : ' ${{ steps.upload.outputs.artifact-id }}'
96+ wait-for-completion : true
97+ output-artifact-directory : ' signing_result'
98+ - name : Rename signed artifact
99+ run : |
100+ ls signing_result
101+ mv signing_result/*.msi signing_result/installer.msi
102+ - name : Upload signed release artifact
103+ uses : actions/upload-release-asset@v1
104+ env :
105+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
106+ with :
107+ upload_url : ${{ github.event.release.upload_url }}
108+ asset_path : signing_result/installer.msi
109+ asset_name : PasteIntoFile_${{ github.event.release.tag_name }}_installer_signed.msi
110+ asset_content_type : application/msi
111+
0 commit comments