Skip to content

misc(ci): update workflow #609

misc(ci): update workflow

misc(ci): update workflow #609

Workflow file for this run

name: "build"
on:
push:
branches:
- main
pull_request:
jobs:
main:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: setup zsh for ubuntu-latest
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update -y
sudo apt install -y zsh
chsh -s $(which zsh)
- name: setup ${{ matrix.os }}
run: |
cp -r $GITHUB_WORKSPACE $HOME/dotfiles
cd $HOME/dotfiles
make
make brew
- run: |
echo $SHELL
which zsh
ls -la $HOME
make brew-base
brew doctor
shell: zsh {0}
continue-on-error: true