fix(release): dmg artifact output result check

This commit is contained in:
2021-11-27 03:16:15 +00:00
parent 30f92f734d
commit cad73f3555

View File

@@ -41,14 +41,14 @@ jobs:
name: ${{ inputs.dmg_artifact }}
path: builds
- name: Publish disk images to a GitHub Release
if: ${{ steps.dmg.outputs.result == 'success' }}
if: ${{ steps.dmg.outputs.result != 'fail' }}
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 }}
- name: Trigger update casks workflow in homebrew tap
if: ${{ steps.dmg.outputs.result == 'success' && inputs.testBuildName == '' }}
if: ${{ steps.dmg.outputs.result != 'fail' && inputs.testBuildName == '' }}
run: >-
gh workflow run --repo jimeh/homebrew-emacs-builds update-casks.yml
env: