@@ -427,12 +427,13 @@ jobs:
427
427
- name : Download artifact
428
428
uses : actions/download-artifact@v3
429
429
with :
430
- name : Windows_X86-64_interactive_installer
430
+ name : ${{ env.JOB_TRANSFER_ARTIFACT }}
431
+ path : ${{ env.BUILD_ARTIFACTS_PATH }}
431
432
432
433
- name : Save artifact path to variable
433
434
run : |
434
435
# Find the artifact ending with 'Windows_64bit.exe' in the specified download directory
435
- ARTIFACT_PATH=$(find . -name "*Windows_64bit.exe")
436
+ ARTIFACT_PATH=$(find ${{ env.BUILD_ARTIFACTS_PATH }} -name "*Windows_64bit.exe")
436
437
echo "ARTIFACT_PATH=${ARTIFACT_PATH}" >> $GITHUB_ENV
437
438
438
439
- name : Save Win signing certificate to file
@@ -447,15 +448,15 @@ jobs:
447
448
"${{ env.SIGNTOOL_PATH }}" sign -d "Arduino IDE" -f ${{ env.INSTALLER_CERT_WINDOWS_CER }} -csp "eToken Base Cryptographic Provider" -k "[{{${{ env.CERT_PASSWORD }}}}]=${{ env.CONTAINER_NAME }}" -fd sha256 -tr http://timestamp.digicert.com -td SHA256 -v ${{ env.ARTIFACT_PATH }}"
448
449
449
450
# upload signed exe to artifacts overwriting existing
450
- - name : Upload signed EXE
451
+ - name : Upload artifacts with signed EXE
451
452
uses : actions/upload-artifact@v3
452
453
with :
453
- name : Windows_X86-64_interactive_installer
454
+ name : ${{ env.JOB_TRANSFER_ARTIFACT }}
454
455
path : ${{ env.ARTIFACT_PATH }}
455
456
456
457
# This step is needed because the self hosted runner does not delete files automatically
457
- - name : Clean up EXE
458
- run : rm ${{ env.ARTIFACT_PATH }}
458
+ - name : Clean up artifacts
459
+ run : rm -rf ${{ env.ARTIFACT_PATH }}
459
460
460
461
merge-channel-files :
461
462
needs :
0 commit comments