Skip to content

Commit 7945452

Browse files
authored
ci: Fix VHS action (#2155)
1 parent 8feb449 commit 7945452

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/vhs.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
jobs:
1212
vhs:
1313
name: Create VHS
14-
runs-on: ubuntu-22.04
14+
runs-on: macos-latest
1515
if: ${{ github.repository == 'wxt-dev/wxt' }}
1616
permissions:
1717
contents: write
@@ -24,16 +24,22 @@ jobs:
2424
with:
2525
install: false
2626

27+
- name: Setup Go
28+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00
29+
with:
30+
go-version: '1.25.1'
31+
2732
# This prevents pnpm dlx from downloading WXT in the video
2833
- name: Pre-install WXT
2934
run: |
3035
pnpm store add wxt@latest
3136
pnpm dlx wxt@latest --version
3237
3338
- name: Record VHS
34-
uses: charmbracelet/vhs-action@59641cdc7fadf3978db65eb8c6937ea2752f4ec3 # v2.1.0
35-
with:
36-
path: 'docs/tapes/init-demo.tape'
39+
run: |
40+
brew install ttyd ffmpeg
41+
go install github.com/charmbracelet/vhs@517bcda0faf416728bcf6b7fe489eb0e2469d9b5 # v0.10.0
42+
vhs docs/tapes/init-demo.tape
3743
3844
- name: Save recorded GIF
3945
uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0

docs/assets/init-demo.gif

4.96 KB
Loading

0 commit comments

Comments
 (0)