diff --git a/.github/workflows/pyinstaller.yml b/.github/workflows/pyinstaller.yml index dafe028..40102de 100644 --- a/.github/workflows/pyinstaller.yml +++ b/.github/workflows/pyinstaller.yml @@ -63,14 +63,16 @@ jobs: run: python3 create_macos.py py2app && chmod +x ./dist/Toblerone.app - name: Build dmg + continue-on-error: true run: | - cd ./dist/ && create-dmg 'Toblerone.app' + cd ./dist/ + create-dmg 'Toblerone.app' if [ $? -eq 2 ]; then echo "Passed with code signing error" cp Toberone*dmg Toblerone.dmg else echo "Some other error in create-dmg" - exit 1 + rm Toberone*dmg fi - name: Release