mirror of
https://github.com/jimeh/emacs-builds.git
synced 2026-02-19 02:46:44 +00:00
fix(release): dmg build step success check
This commit is contained in:
4
.github/workflows/_release.yml
vendored
4
.github/workflows/_release.yml
vendored
@@ -49,11 +49,11 @@ jobs:
|
|||||||
name: ${{ inputs.dmg_artifact }}
|
name: ${{ inputs.dmg_artifact }}
|
||||||
path: builds
|
path: builds
|
||||||
- name: Publish disk images to a GitHub Release
|
- name: Publish disk images to a GitHub Release
|
||||||
if: steps.dmg.outputs.result != 'fail'
|
if: steps.dmg.outcome != 'failure'
|
||||||
run: >-
|
run: >-
|
||||||
bin/emacs-builder -l debug release --plan build-plan.yml publish
|
bin/emacs-builder -l debug release --plan build-plan.yml publish
|
||||||
$(find builds -name '*.dmg' -or -name '*.sha256')
|
$(find builds -name '*.dmg' -or -name '*.sha256')
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- run: echo 'No DMG artifact available, was there a new commit to build?'
|
- run: echo 'No DMG artifact available, was there a new commit to build?'
|
||||||
if: steps.dmg.outputs.result == 'fail'
|
if: steps.dmg.outcome == 'failure'
|
||||||
|
|||||||
Reference in New Issue
Block a user