Skip to content

Commit e8e3d88

Browse files
authored
Merge branch 'pyrevitlabs:develop' into contribution
2 parents d838db4 + a267ef5 commit e8e3d88

File tree

42 files changed

+476
-96
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+476
-96
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,6 @@ jobs:
142142
# run: |
143143
# pipenv run pyrevit sign products
144144

145-
- name: Build Installers
146-
run: |
147-
pipenv run pyrevit build installers
148-
149145
# - name: Sign Installers
150146
# if: (github.repository == env.MainRepo)
151147
# env:
@@ -158,8 +154,30 @@ jobs:
158154

159155
# default retention period is 90 days
160156
# https://github.com/marketplace/actions/upload-a-build-artifact#retention-period
157+
158+
- name: Sign files with Trusted Signing (DLLs and EXEs)
159+
if: (github.repository == env.MainRepo)
160+
uses: azure/trusted-signing-action@v0.5.1
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+
files-folder: bin/
170+
files-folder-filter: pyrevit*.exe,pyrevit*.dll
171+
files-folder-recurse: true
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
161179
162-
- name: Sign files with Trusted Signing
180+
- name: Sign files with Trusted Signing (installers)
163181
if: (github.repository == env.MainRepo)
164182
uses: azure/trusted-signing-action@v0.5.1
165183
with:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)