mirror of
https://github.com/jimeh/emacs-builds.git
synced 2026-02-19 10:46:40 +00:00
fix(release): dmg artifact output result check
This commit is contained in:
4
.github/workflows/_release.yml
vendored
4
.github/workflows/_release.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user