Skip to content

Commit 686257a

Browse files
preview workflow update
1 parent fc98c49 commit 686257a

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.DS_Store

0 Bytes
Binary file not shown.

.github/.DS_Store

0 Bytes
Binary file not shown.

.github/workflows/preview.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,20 @@ jobs:
7474
branch_name=$(echo "${{ steps.final_tag.outputs.tag_name }}" | tr . -)
7575
echo "branch_name=$branch_name" >> $GITHUB_OUTPUT
7676
77-
- name: Install dependencies manually
77+
- name: Install system dependencies
7878
run: |
7979
sudo apt-get update
80-
sudo apt-get install -y ffmpeg
80+
sudo apt-get install -y ffmpeg ttyd curl
8181
82-
- name: Install VHS directly
82+
- name: Install VHS binary
8383
run: |
84-
# Download and install VHS from releases
85-
curl -LO "https://github.com/charmbracelet/vhs/releases/latest/download/vhs_Linux_x86_64.tar.gz"
86-
tar -xzf vhs_Linux_x86_64.tar.gz
84+
# Download a specific version of VHS
85+
VHS_VERSION="v0.7.2"
86+
wget "https://github.com/charmbracelet/vhs/releases/download/${VHS_VERSION}/vhs_${VHS_VERSION#v}_Linux_x86_64.tar.gz"
87+
tar -xzf "vhs_${VHS_VERSION#v}_Linux_x86_64.tar.gz"
8788
sudo mv vhs /usr/local/bin/vhs
8889
chmod +x /usr/local/bin/vhs
90+
vhs --version
8991
9092
- name: Generate preview with VHS
9193
run: |

0 commit comments

Comments
 (0)