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:
2025-11-09 01:03:23 +00:00
parent d8b9e0d5b2
commit f525225e3d

View File

@@ -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