Skip to content

Commit efab8bd

Browse files
revert: use manual VHS installation instead of action due to ffmpeg conflicts
1 parent dcffb58 commit efab8bd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/preview.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,16 @@ jobs:
4646
echo "${{ github.workspace }}/build" >> $GITHUB_PATH
4747
echo "branch_name=${{ env.tag_name }}" | tr . - >> $GITHUB_ENV
4848
49-
- name: Install ffmpeg
49+
- name: Install dependencies
5050
run: |
5151
sudo apt-get update
52-
sudo apt-get install -y ffmpeg
52+
sudo apt-get install -y ffmpeg ttyd fonts-jetbrains-mono
53+
54+
- name: Install VHS
55+
run: go install github.com/charmbracelet/vhs@latest
5356

5457
- name: Generate preview with VHS
55-
uses: charmbracelet/vhs-action@v2
56-
with:
57-
path: .github/preview.tape
58+
run: vhs .github/preview.tape
5859

5960
- name: Move preview
6061
run: mv preview.gif .github/preview.gif

0 commit comments

Comments
 (0)