mirror of
https://github.com/jimeh/homebrew-emacs-builds.git
synced 2026-02-19 01:46:42 +00:00
fix(workflows/update-casks): take two on trying to prevent non-JSON output from brew livecheck
This commit is contained in:
6
.github/workflows/update-casks.yml
vendored
6
.github/workflows/update-casks.yml
vendored
@@ -72,16 +72,18 @@ jobs:
|
|||||||
mkdir -p "$(brew --repo)/Library/Taps/jimeh"
|
mkdir -p "$(brew --repo)/Library/Taps/jimeh"
|
||||||
cp -av "${{ github.workspace }}/tap" \
|
cp -av "${{ github.workspace }}/tap" \
|
||||||
"$(brew --repo)/Library/Taps/jimeh/homebrew-emacs-builds"
|
"$(brew --repo)/Library/Taps/jimeh/homebrew-emacs-builds"
|
||||||
|
- name: Run brew update
|
||||||
|
run: brew update
|
||||||
- name: brew livecheck (all casks)
|
- name: brew livecheck (all casks)
|
||||||
if: ${{ github.event.inputs.cask == '' }}
|
if: ${{ github.event.inputs.cask == '' }}
|
||||||
run: >-
|
run: >-
|
||||||
brew livecheck --json --quiet --tap jimeh/emacs-builds 2>/dev/null
|
brew livecheck --json --quiet --tap jimeh/emacs-builds
|
||||||
| tee livecheck-results.json
|
| tee livecheck-results.json
|
||||||
- name: brew livecheck (specific cask)
|
- name: brew livecheck (specific cask)
|
||||||
if: ${{ github.event.inputs.cask != '' }}
|
if: ${{ github.event.inputs.cask != '' }}
|
||||||
run: >-
|
run: >-
|
||||||
brew livecheck --json --quiet
|
brew livecheck --json --quiet
|
||||||
jimeh/emacs-builds/${{ github.event.inputs.cask }} 2>/dev/null
|
jimeh/emacs-builds/${{ github.event.inputs.cask }}
|
||||||
| tee livecheck-results.json
|
| tee livecheck-results.json
|
||||||
- name: Upload livecheck-results.json artifact
|
- name: Upload livecheck-results.json artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user