Skip to content

Commit 346b71d

Browse files
authored
Update main.yml
1 parent b064c0f commit 346b71d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ jobs:
154154

155155
# default retention period is 90 days
156156
# https://github.com/marketplace/actions/upload-a-build-artifact#retention-period
157+
- name: Find and list files for signing
158+
run: |
159+
find bin/ -type f \( -name "pyrevit*.exe" -o -name "pyrevit*.dll" \) > files-to-sign.txt
157160
158161
- name: Sign files with Trusted Signing (DLLs and EXEs)
159162
if: (github.repository == env.MainRepo)
@@ -167,8 +170,7 @@ jobs:
167170
certificate-profile-name: ${{ secrets.AZURE_CERT_PROFILE_NAME }}
168171

169172
# Sign all exes inside the folder
170-
files-folder: bin/
171-
files-folder-filter: "**/pyrevit*.exe,**/pyrevit*.dll"
173+
files-list: files-to-sign.txt
172174
file-digest: SHA256
173175
timestamp-rfc3161: http://timestamp.acs.microsoft.com
174176
timestamp-digest: SHA256

0 commit comments

Comments
 (0)