Skip to content

Update the brew references #187

Update the brew references

Update the brew references #187

Workflow file for this run

name: ci
on:
push:
workflow_dispatch:
env:
TERM: xterm
jobs:
test:
runs-on: macos-latest
strategy:
matrix:
command:
- help
- clone
- link
- install-brew
- install-defaults
- install-fisher
- install-vim
steps:
- uses: actions/checkout@v4
- if: ${{ matrix.command == 'install-brew' }}
name: brew uninstall go
run: |
brew update
versions=$(brew list | grep -E '^go$|^go@' || true)
echo $versions
for v in $versions
do
echo "brew uninstall $v"
brew uninstall $v
done
- if: ${{ matrix.command == 'install-brew' }}
id: skip
name: Skip mas installs
run: |
ids=$(cat Brewfile | grep -oE "[0-9]{9,}" | tr '\n' ' ')
echo $ids
echo "ids=$ids" >> "$GITHUB_OUTPUT"
- run: ./dot.sh ${{ matrix.command }}
env:
HOMEBREW_BUNDLE_MAS_SKIP: ${{ steps.skip.outputs.ids }}