fix(release): dmg build step success check

This commit is contained in:
2025-06-27 15:13:35 +01:00
parent 51fba0905b
commit b8192fb788

View File

@@ -49,11 +49,11 @@ jobs:
name: ${{ inputs.dmg_artifact }}
path: builds
- name: Publish disk images to a GitHub Release
if: steps.dmg.outputs.result != 'fail'
if: steps.dmg.outcome != 'failure'
run: >-
bin/emacs-builder -l debug release --plan build-plan.yml publish
$(find builds -name '*.dmg' -or -name '*.sha256')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: echo 'No DMG artifact available, was there a new commit to build?'
if: steps.dmg.outputs.result == 'fail'
if: steps.dmg.outcome == 'failure'