summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Donofry <rubberduckie3554@gmail.com>2023-06-19 18:32:22 -0400
committerJoseph Donofry <rubberduckie3554@gmail.com>2023-06-19 18:32:22 -0400
commit9dafc34d43944edb8d36e99ecae4f7a5017f244f (patch)
tree44844459085b810c0a65d7621a56257d1aea37d5
parentLimit parallel jobs on arm runner (diff)
downloadnheko-9dafc34d43944edb8d36e99ecae4f7a5017f244f.tar.xz
Upload notary logs
-rwxr-xr-x.ci/macos/notarize.sh5
-rw-r--r--.gitlab-ci.yml2
2 files changed, 5 insertions, 2 deletions
diff --git a/.ci/macos/notarize.sh b/.ci/macos/notarize.sh
index 33a6da50..a351d787 100755
--- a/.ci/macos/notarize.sh
+++ b/.ci/macos/notarize.sh
@@ -42,7 +42,10 @@ NOTARIZE_SUBMIT_LOG=$(mktemp /tmp/notarize-submit.XXXXXX)
 NOTARIZE_STATUS_LOG=$(mktemp /tmp/notarize-status.XXXXXX)
 
 finish() {
-  rm "$NOTARIZE_SUBMIT_LOG" "$NOTARIZE_STATUS_LOG"
+  # rm "$NOTARIZE_SUBMIT_LOG" "$NOTARIZE_STATUS_LOG"
+  mkdir -p artifacts
+  cp "$NOTARIZE_SUBMIT_LOG" artifacts/
+  cp "$NOTARIZE_STATUS_LOG" artifacts/
 }
 trap finish EXIT
 
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 33d39df6..20986b45 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -189,7 +189,7 @@ codesign-macos:
   artifacts:
     paths:
       - artifacts/nheko-${CI_COMMIT_SHORT_SHA}-${PLAT}.dmg
-      - /tmp/notarize*
+      - artifacts/notarize*
     name: nheko-${CI_COMMIT_SHORT_SHA}-macos
 
 build-flatpak: