feat(wezterm): add settings #175
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# remove the packages that are already in the environment so we can install them. | |
# relink brew python packages - these are already installed but overwritten. | |
# we need them because they are dependencies of packages in the Brewfile | |
# see https://github.com/actions/runner-images | |
- name: reset runner environment | |
run: | | |
rm -f /usr/local/bin/aws | |
rm -f /usr/local/bin/aws_completer | |
rm -f /usr/local/bin/go | |
rm -f /usr/local/bin/gofmt | |
brew unlink [email protected] [email protected] | |
brew link --overwrite [email protected] [email protected] | |
rm "$HOME/.gitconfig" | |
brew unlink git | |
- name: fix build to work with setup-mac | |
run: | | |
mkdir -p "$HOME/.zshrc.d" | |
touch "$HOME/.zshrc.d/auth.plugin.zsh" | |
touch "$HOME/.zshrc.d/aws-doctor.plugin.zsh" | |
touch "$HOME/.zshrc.d/functions.plugin.zsh" | |
touch "$HOME/.zshrc.d/git-doctor.plugin.zsh" | |
touch "$HOME/.zshrc.d/setup.plugin.zsh" | |
- name: install.sh | |
run: ./install.sh | |
- name: Start sshx session on failed manual attempt | |
if: ${{ failure() && (github.event_name == 'workflow_dispatch' || github.run_attempt > 1) }} | |
run: curl -sSf https://sshx.io/get | sh && sshx |