mirror of
https://github.com/kopia/kopia.git
synced 2026-10-24 07:08:41 -04:00
fix(ci): avoid hung CI jobs while notarizing the kopia app on MacOS (#3168)
Avoid hanging while notarizing the UI on MacOS for PRs in the same repo. Unset various variables, including KOPIA_UI_NOTARIZE, when FORCE_KOPIA_UI_SIGN is not specified
This commit is contained in:
1 parent
ad9d51f3a9
commit
ca6d6acad8
1 file changed
+11
-2
+11
-2
@@ -25,11 +25,20 @@ endif
|
||||
|
||||
else
|
||||
|
||||
# not running on Travis, or Travis in PR mode, don't build installer and don't publish
|
||||
# Running as part of a pull_request event on GH, or outside a GH workflow, then
|
||||
# don't build installer and don't publish
|
||||
ifneq ($(FORCE_KOPIA_UI_SIGN),)
|
||||
electron_builder_flags+=--dir
|
||||
endif
|
||||
|
||||
else
|
||||
|
||||
# unset CSC_LINK completely, otherwise electron builder hangs attempting to
|
||||
# notarize.
|
||||
unexport CSC_LINK
|
||||
unexport CSC_KEY_PASSWORD
|
||||
unexport KOPIA_UI_NOTARIZE
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
# empty CSC_LINK, unset completely since empty value confuses electron builder.
|
||||
|
||||
Reference in new issue
Block a user