Skip to content

Commit a860489

Browse files
fix: for keychain lock issue while during notorization arm64 dmg (#950)
1 parent 482a19a commit a860489

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/ci_beta.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,27 @@ jobs:
6363
/usr/bin/codesign --options runtime --force -s "ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. (QWXF6GB4AV)" $PWD/releng/ide-dmg-builder/Espressif-IDE-macosx-cocoa-aarch64.dmg -v
6464
/usr/bin/codesign -v -vvv --deep $PWD/releng/ide-dmg-builder/Espressif-IDE-macosx-cocoa-aarch64.dmg
6565
66-
- name: Notarize macOS dmg files
66+
- name: Notarization of Espressif-IDE-macosx-cocoa-x86_64.dmg
6767
env:
6868
NOTARIZATION_USERNAME: ${{ secrets.NOTARIZATION_USERNAME }}
6969
NOTARIZATION_PASSWORD: ${{ secrets.NOTARIZATION_PASSWORD }}
7070
NOTARIZATION_TEAM_ID: ${{ secrets.NOTARIZATION_TEAM_ID }}
7171
run: |
7272
echo "Create keychain profile"
7373
xcrun notarytool store-credentials "ide-notarytool-profile" --apple-id $NOTARIZATION_USERNAME --team-id $NOTARIZATION_TEAM_ID --password $NOTARIZATION_PASSWORD
74-
echo "Notarization of Espressif-IDE-macosx-cocoa-x86_64.dmg"
7574
xcrun notarytool submit $PWD/releng/ide-dmg-builder/Espressif-IDE-macosx-cocoa-x86_64.dmg --keychain-profile "ide-notarytool-profile" --wait
7675
echo "Attach staple for x86_64.dmg"
7776
xcrun stapler staple $PWD/releng/ide-dmg-builder/Espressif-IDE-macosx-cocoa-x86_64.dmg
78-
echo "Notarization of Espressif-IDE-macosx-cocoa-aarch64.dmg"
79-
xcrun notarytool submit $PWD/releng/ide-dmg-builder/Espressif-IDE-macosx-cocoa-aarch64.dmg --keychain-profile "ide-notarytool-profile" --wait
77+
78+
- name: Notarization of Espressif-IDE-macosx-cocoa-aarch64.dmg
79+
env:
80+
NOTARIZATION_USERNAME: ${{ secrets.NOTARIZATION_USERNAME }}
81+
NOTARIZATION_PASSWORD: ${{ secrets.NOTARIZATION_PASSWORD }}
82+
NOTARIZATION_TEAM_ID: ${{ secrets.NOTARIZATION_TEAM_ID }}
83+
run: |
84+
echo "Create keychain profile"
85+
xcrun notarytool store-credentials "ide-notarytool-profile-arm64" --apple-id $NOTARIZATION_USERNAME --team-id $NOTARIZATION_TEAM_ID --password $NOTARIZATION_PASSWORD
86+
xcrun notarytool submit $PWD/releng/ide-dmg-builder/Espressif-IDE-macosx-cocoa-aarch64.dmg --keychain-profile "ide-notarytool-profile-arm64" --wait
8087
echo "Attach staple for aarch64.dmg"
8188
xcrun stapler staple $PWD/releng/ide-dmg-builder/Espressif-IDE-macosx-cocoa-aarch64.dmg
8289

0 commit comments

Comments
 (0)