File tree Expand file tree Collapse file tree 3 files changed +42
-4
lines changed
Expand file tree Collapse file tree 3 files changed +42
-4
lines changed Original file line number Diff line number Diff line change 2222 - name : Check workflow files
2323 run : ${{ steps.get_actionlint.outputs.executable }} -color
2424 shell : bash
25+ env :
26+ SHELLCHECK_OPTS : --exclude=SC2016
Original file line number Diff line number Diff line change 4646 - name : Install VHS
4747 run : go install github.com/charmbracelet/vhs@latest
4848
49+ - name : Install Nerd Font
50+ run : |
51+ mkdir -p ~/.local/share/fonts
52+ wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/FiraCode.zip
53+ unzip FiraCode.zip -d ~/.local/share/fonts/
54+ fc-cache -fv
55+
56+ - name : Install Zsh
57+ run : sudo apt update && sudo apt install -y zsh
58+
59+ - name : Install zsh-syntax-highlighting
60+ run : |
61+ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/z
62+ echo 'source ~/z/zsh-syntax-highlighting.zsh' >> ~/.zshrc
63+
64+ - name : Install Starship
65+ run : |
66+ curl -sS https://starship.rs/install.sh | sh -s -- -y
67+ echo 'eval "$(starship init zsh)"' >> ~/.zshrc
68+
69+ - name : Move demo.tape
70+ run : mv demo.tape ${{ runner.temp }}
71+
4972 - name : Generate and publish a new demo
5073 run : vhs --publish demo.tape
74+ working-directory : ${{ runner.temp }}
Original file line number Diff line number Diff line change 5757
5858Output demo.gif
5959
60+ Require zsh
61+ Require starship
6062Require cabin
6163
62- Set Shell "bash"
63- Set FontSize 32
64- Set Width 1600
65- Set Height 800
64+ Set Shell "zsh"
65+ Set FontSize 16
66+ Set FontFamily "FiraCode Nerd Font"
67+ Set Width 800
68+ Set Height 450
69+ Set WindowBar Colorful
70+ Set Padding 20
71+ Set Margin 20
72+ Set MarginFill "#000000"
73+ Set BorderRadius 10
74+
75+ Hide
76+ Type "source ~/.zshrc" Enter
77+ Show
6678
6779Type "cabin version" Sleep 500ms Enter Sleep 1s
6880Type "cabin new hello_world" Sleep 500ms Enter Sleep 1s
You can’t perform that action at this time.
0 commit comments