We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ac9f77 commit f8d8c0cCopy full SHA for f8d8c0c
1 file changed
.github/workflows/build-release.yml
@@ -144,8 +144,12 @@ jobs:
144
145
# Sign binary
146
- name: Sign binary
147
- run: signtool sign /tr http://timestamp.digicert.com /td sha256 /fd SHA256 /f cert.pfx /p "${{ secrets.SIGNING_CERT_PASSWORD }}" ${{ matrix.filename }}
148
- shell: bash
+ run: |
+ $signtool = Get-ChildItem 'C:\Program Files (x86)\Windows Kits\10\bin' -Recurse -Filter signtool.exe |
149
+ Where-Object { $_.FullName -like '*x64*' } |
150
+ Sort-Object FullName -Descending |
151
+ Select-Object -ExpandProperty FullName -First 1
152
+ & "$signtool" sign /tr http://timestamp.digicert.com /td sha256 /fd SHA256 /f cert.pfx /p "${{ secrets.SIGNING_CERT_PASSWORD }}" ${{ matrix.filename }}
153
154
# Upload the built artifact
155
- name: Upload binary artifact
0 commit comments