diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 0d70062dd1..5e183e5967 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -276,7 +276,8 @@ jobs: # check if we have the password and the username if [ -n "${NOTARIZE_PASSWORD}" ] && [ -n "${NOTARIZE_USERNAME}" ]; then codesign -s "$CODESIGN_IDENTITY" --timestamp Avogadro2*.dmg - npx notarize-cli --file Avogadro2*.dmg + xcrun notarytool submit Avogadro2*.dmg --apple-id "$NOTARIZE_USERNAME" --password "NOTARIZE_PASSWORD" --verbose --wait + xcrun stapler staple -v Avogadro2*.dmg fi working-directory: ${{ runner.workspace }}/build/avogadroapp env: diff --git a/.github/workflows/build_m1.yml b/.github/workflows/build_m1.yml index 9c052a4da9..0772b9c8c8 100644 --- a/.github/workflows/build_m1.yml +++ b/.github/workflows/build_m1.yml @@ -162,7 +162,8 @@ jobs: echo "codesign DMG" codesign -s "$CODESIGN_IDENTITY" --timestamp Avogadro2*.dmg echo "notarizing" - npx notarize-cli --file Avogadro2*.dmg + xcrun notarytool submit Avogadro2*.dmg --apple-id "$NOTARIZE_USERNAME" --password "NOTARIZE_PASSWORD" --verbose --wait + xcrun stapler staple -v Avogadro2*.dmg fi env: NOTARIZE_USERNAME: ${{ secrets.AC_USERNAME }}