Skip to content

Commit

Permalink
Continue on error for create-dmg
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Lonsdale authored and Andrew Lonsdale committed Mar 3, 2022
1 parent a9a7c8f commit bb328ba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb328ba

Please sign in to comment.