File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -406,6 +406,12 @@ jobs:
406406 MACOS_CERTIFICATE : ${{ secrets.MACOS_CERTIFICATE }}
407407 MACOS_CERTIFICATE_PWD : ${{ secrets.MACOS_CERTIFICATE_PWD }}
408408 run : |
409+ echo $MACOS_CERTIFICATE | base64 --decode > certificate.p12
410+ security list-keychains | grep -q "build.keychain" || security create-keychain -p espressif build.keychain
411+ security default-keychain -s build.keychain
412+ security unlock-keychain -p espressif build.keychain
413+ security import certificate.p12 -k build.keychain -P $MACOS_CERTIFICATE_PWD -T /usr/bin/codesign
414+ security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k espressif build.keychain
409415 codesign --entitlements eim.entitlement --options runtime --force -s "ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. (QWXF6GB4AV)" release_cli/${{ matrix.package_name }}/offline_installer_builder -v
410416 codesign -v -vvv --deep release_cli/${{ matrix.package_name }}/offline_installer_builder
411417
You can’t perform that action at this time.
0 commit comments