GHA: Try to fail the build if notarization failed

This commit is contained in:
aboyko
2023-11-17 17:41:43 -05:00
parent 54b83fc819
commit fb77fdeb9b
2 changed files with 12 additions and 3 deletions

View File

@@ -266,8 +266,17 @@ jobs:
do
${{ github.workspace }}/.github/scripts/notarize-osx-distro-file.sh $dmg_file $NOTARIZE_PROFILE &
done
wait
echo "Done signing and notarization of DMG files"
for job in `jobs -p`
do
wait $job || let "FAIL+=1"
done
if [ "$FAIL" == "0" ];
then
echo "Done signing and notarization of DMG files"
else
echo "Failed Notarization"
exit 1
fi
- name: Update DMG files on S3
id: update-s3
run: |