@@ -142,10 +142,6 @@ jobs:
142
142
# run: |
143
143
# pipenv run pyrevit sign products
144
144
145
- - name : Build Installers
146
- run : |
147
- pipenv run pyrevit build installers
148
-
149
145
# - name: Sign Installers
150
146
# if: (github.repository == env.MainRepo)
151
147
# env:
@@ -159,7 +155,29 @@ jobs:
159
155
# default retention period is 90 days
160
156
# https://github.com/marketplace/actions/upload-a-build-artifact#retention-period
161
157
162
- - name : Sign files with Trusted Signing
158
+ - name : Sign files with Trusted Signing (dlls)
159
+ if : (github.repository == env.MainRepo)
160
+
161
+ with :
162
+ azure-tenant-id : ${{ secrets.AZURE_TENANT_ID }}
163
+ azure-client-id : ${{ secrets.AZURE_CLIENT_ID }}
164
+ azure-client-secret : ${{ secrets.AZURE_CLIENT_SECRET }}
165
+ endpoint : ${{ secrets.AZURE_ENDPOINT }}
166
+ trusted-signing-account-name : ${{ secrets.AZURE_CODE_SIGNING_NAME }}
167
+ certificate-profile-name : ${{ secrets.AZURE_CERT_PROFILE_NAME }}
168
+
169
+ # Sign all exes inside the folder
170
+ files-folder : bin/
171
+ files-folder-filter : pyrevit*.dll
172
+ file-digest : SHA256
173
+ timestamp-rfc3161 : http://timestamp.acs.microsoft.com
174
+ timestamp-digest : SHA256
175
+
176
+ - name : Build Installers
177
+ run : |
178
+ pipenv run pyrevit build installers
179
+
180
+ - name : Sign files with Trusted Signing (installers)
163
181
if : (github.repository == env.MainRepo)
164
182
165
183
with :
0 commit comments