From f525225e3d1e34e972d064d114624fe80e5c7d42 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 9 Nov 2025 01:03:23 +0000 Subject: [PATCH] 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. --- .github/workflows/update-casks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-casks.yml b/.github/workflows/update-casks.yml index 957037f7..6639e7c8 100644 --- a/.github/workflows/update-casks.yml +++ b/.github/workflows/update-casks.yml @@ -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