File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,10 @@ jobs:
172
172
173
173
env :
174
174
INSTALLER_CERT_WINDOWS_PFX : " /tmp/cert.pfx"
175
- SIGNTOOL_PATH : " C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe"
175
+ # We are hardcoding the path for signtool because is not present on the windows PATH env var by default.
176
+ # Keep in mind that this path could change when upgrading to a new runner version
177
+ # https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md#installed-windows-sdks
178
+ SIGNTOOL_PATH : " C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x86/signtool.exe"
176
179
177
180
steps :
178
181
- name : Checkout repository
@@ -206,7 +209,7 @@ jobs:
206
209
MSI_FILE : ${{ steps.buildmsi.outputs.msi }} # this comes from .installer/cli.wixproj
207
210
CERT_PASSWORD : ${{ secrets.INSTALLER_CERT_WINDOWS_PASSWORD }}
208
211
run : |
209
- "${{ env.SIGNTOOL_PATH }}" sign -d "Arduino CLI" -f ${{ env.INSTALLER_CERT_WINDOWS_PFX}} -p ${{ env.CERT_PASSWORD }} -fd sha256 -tr http://timestamp.digicert.com -v "${{ env.MSI_FILE }}"
212
+ "${{ env.SIGNTOOL_PATH }}" sign -d "Arduino CLI" -f ${{ env.INSTALLER_CERT_WINDOWS_PFX}} -p ${{ env.CERT_PASSWORD }} -fd sha256 -tr http://timestamp.digicert.com -td SHA256 - v "${{ env.MSI_FILE }}"
210
213
211
214
- name : Upload artifacts
212
215
uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change @@ -179,7 +179,10 @@ jobs:
179
179
180
180
env :
181
181
INSTALLER_CERT_WINDOWS_PFX : " /tmp/cert.pfx"
182
- SIGNTOOL_PATH : " C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe"
182
+ # We are hardcoding the path for signtool because is not present on the windows PATH env var by default.
183
+ # Keep in mind that this path could change when upgrading to a new runner version
184
+ # https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md#installed-windows-sdks
185
+ SIGNTOOL_PATH : " C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x86/signtool.exe"
183
186
184
187
steps :
185
188
- name : Checkout repository
@@ -214,7 +217,7 @@ jobs:
214
217
MSI_FILE : ${{ steps.buildmsi.outputs.msi }} # this comes from .installer/cli.wixproj
215
218
CERT_PASSWORD : ${{ secrets.INSTALLER_CERT_WINDOWS_PASSWORD }}
216
219
run : |
217
- "${{ env.SIGNTOOL_PATH }}" sign -d "Arduino CLI" -f ${{ env.INSTALLER_CERT_WINDOWS_PFX}} -p ${{ env.CERT_PASSWORD }} -fd sha256 -tr http://timestamp.digicert.com -v "${{ env.MSI_FILE }}"
220
+ "${{ env.SIGNTOOL_PATH }}" sign -d "Arduino CLI" -f ${{ env.INSTALLER_CERT_WINDOWS_PFX}} -p ${{ env.CERT_PASSWORD }} -fd sha256 -tr http://timestamp.digicert.com -td SHA256 - v "${{ env.MSI_FILE }}"
218
221
219
222
- name : Upload artifacts
220
223
uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments