From 8e7603be0b5901ce86cdf3ae018839a5e308764c Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Fri, 1 Jul 2022 12:53:34 -0400 Subject: [PATCH] Add more debugging to notarization step Signed-off-by: Geoff Hutchison --- .github/workflows/build_m1.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_m1.yml b/.github/workflows/build_m1.yml index aaad121c82..917f26a670 100644 --- a/.github/workflows/build_m1.yml +++ b/.github/workflows/build_m1.yml @@ -155,9 +155,13 @@ jobs: - name: Notarize Mac DMG if: runner.os == 'macOS' run: | + pwd + ls -l # check if we have the password and the username if [ -n "${NOTARIZE_PASSWORD}" ] && [ -n "${NOTARIZE_USERNAME}" ]; then + echo "codesign DMG" codesign -s "$CODESIGN_IDENTITY" --timestamp "Avogadro2*.dmg" + echo "notarizing" npx notarize-cli --file "Avogadro2*.dmg" fi env: