Add macos notarize logs as artifacts

This commit is contained in:
Joseph Donofry 2022-09-24 17:43:06 -04:00 committed by Nicolas Werner
parent 8985c2d1d4
commit 1f42e17a05
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
2 changed files with 3 additions and 2 deletions

View file

@ -36,8 +36,8 @@ done
codesign --force --timestamp --options=runtime --sign "${APPLE_DEV_IDENTITY}" "build/nheko.app" codesign --force --timestamp --options=runtime --sign "${APPLE_DEV_IDENTITY}" "build/nheko.app"
NOTARIZE_SUBMIT_LOG=$(mktemp -t notarize-submit) NOTARIZE_SUBMIT_LOG=$(mktemp /tmp/notarize-submit.XXXXXX)
NOTARIZE_STATUS_LOG=$(mktemp -t notarize-status) NOTARIZE_STATUS_LOG=$(mktemp /tmp/notarize-status.XXXXXX)
finish() { finish() {
rm "$NOTARIZE_SUBMIT_LOG" "$NOTARIZE_STATUS_LOG" rm "$NOTARIZE_SUBMIT_LOG" "$NOTARIZE_STATUS_LOG"

View file

@ -96,6 +96,7 @@ build-macos:
artifacts: artifacts:
paths: paths:
- build/nheko.app - build/nheko.app
- /tmp/notarize*
name: nheko-${CI_COMMIT_SHORT_SHA}-macos-app name: nheko-${CI_COMMIT_SHORT_SHA}-macos-app
expose_as: 'macos-app' expose_as: 'macos-app'
public: false public: false