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: