Skip to content

Commit 58e38f3

Browse files
committed
ci:remove notarization
1 parent 5458ea7 commit 58e38f3

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -194,32 +194,32 @@ jobs:
194194
195195
echo "App and DMG signed successfully"
196196
197-
- name: Notarize macOS app (optional)
198-
if: matrix.platform == 'macos-latest' && (startsWith(github.ref, 'refs/tags/') || github.event.inputs.sign == 'true')
199-
env:
200-
APPLE_ID: ${{ secrets.APPLE_ID }}
201-
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
202-
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
203-
run: |
204-
if [ -z "$APPLE_ID" ] || [ -z "$APPLE_ID_PASSWORD" ] || [ -z "$APPLE_TEAM_ID" ]; then
205-
echo "Warning: Apple notarization credentials not available. Skipping notarization."
206-
exit 0
207-
fi
208-
209-
# Use the same DMG path as defined in the sign step
210-
echo "Using DMG path for notarization: $DMG_PATH"
211-
212-
echo "Uploading DMG for notarization"
213-
xcrun notarytool submit "$DMG_PATH" \
214-
--apple-id "$APPLE_ID" \
215-
--password "$APPLE_ID_PASSWORD" \
216-
--team-id "$APPLE_TEAM_ID" \
217-
--wait
218-
219-
echo "Stapling notarization ticket to DMG"
220-
xcrun stapler staple "$DMG_PATH"
221-
222-
echo "Notarization complete"
197+
# - name: Notarize macOS app (optional)
198+
# if: matrix.platform == 'macos-latest' && (startsWith(github.ref, 'refs/tags/') || github.event.inputs.sign == 'true')
199+
# env:
200+
# APPLE_ID: ${{ secrets.APPLE_ID }}
201+
# APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
202+
# APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
203+
# run: |
204+
# if [ -z "$APPLE_ID" ] || [ -z "$APPLE_ID_PASSWORD" ] || [ -z "$APPLE_TEAM_ID" ]; then
205+
# echo "Warning: Apple notarization credentials not available. Skipping notarization."
206+
# exit 0
207+
# fi
208+
209+
# # Use the same DMG path as defined in the sign step
210+
# echo "Using DMG path for notarization: $DMG_PATH"
211+
212+
# echo "Uploading DMG for notarization"
213+
# xcrun notarytool submit "$DMG_PATH" \
214+
# --apple-id "$APPLE_ID" \
215+
# --password "$APPLE_ID_PASSWORD" \
216+
# --team-id "$APPLE_TEAM_ID" \
217+
# --wait
218+
219+
# echo "Stapling notarization ticket to DMG"
220+
# xcrun stapler staple "$DMG_PATH"
221+
222+
# echo "Notarization complete"
223223

224224
- name: Upload macOS binaries to release
225225
if: matrix.platform == 'macos-latest' && startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)