mirror of
https://github.com/jimeh/homebrew-emacs-builds.git
synced 2026-02-19 02:56:40 +00:00
fix(workflows/update-casks): attempt to suppress non-JSON output for brew livecheck
Redirect STDERR output to /dev/null for brew livecheck commands in an attempt to prevent non-JSON output.
This commit is contained in:
4
.github/workflows/update-casks.yml
vendored
4
.github/workflows/update-casks.yml
vendored
@@ -75,13 +75,13 @@ jobs:
|
||||
- name: brew livecheck (all casks)
|
||||
if: ${{ github.event.inputs.cask == '' }}
|
||||
run: >-
|
||||
brew livecheck --json --quiet --tap jimeh/emacs-builds
|
||||
brew livecheck --json --quiet --tap jimeh/emacs-builds 2>/dev/null
|
||||
| tee livecheck-results.json
|
||||
- name: brew livecheck (specific cask)
|
||||
if: ${{ github.event.inputs.cask != '' }}
|
||||
run: >-
|
||||
brew livecheck --json --quiet
|
||||
jimeh/emacs-builds/${{ github.event.inputs.cask }}
|
||||
jimeh/emacs-builds/${{ github.event.inputs.cask }} 2>/dev/null
|
||||
| tee livecheck-results.json
|
||||
- name: Upload livecheck-results.json artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user