Compare commits
8 Commits
release-pl
...
vhs-test
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af18bae1ff | ||
|
|
c68ff86c64 | ||
|
|
c337aa3d58 | ||
|
|
7cef8d2a8b | ||
|
|
96a468443e | ||
|
|
1ae449c92b | ||
|
|
71722bbf41 | ||
|
|
1b573d982e |
35
.github/workflows/vhs-test.yml
vendored
Normal file
35
.github/workflows/vhs-test.yml
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
name: vhs
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- vhs-test
|
||||
|
||||
jobs:
|
||||
vhs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: dtolnay/rust-toolchain@6d653acede28d24f02e3cd41383119e8b1b35921 # master
|
||||
with:
|
||||
toolchain: stable
|
||||
|
||||
- uses: FedericoCarboni/setup-ffmpeg@v3
|
||||
id: setup-ffmpeg
|
||||
|
||||
- uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: "^1.13.1" # The Go version to download (if necessary) and use.
|
||||
|
||||
- run: |
|
||||
cargo build -p demo2
|
||||
sudo apt update
|
||||
sudo apt install -y ffmpeg ttyd
|
||||
go install github.com/charmbracelet/vhs@latest
|
||||
vhs ./examples/vhs/demo2.tape
|
||||
|
||||
- name: Upload GIF artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: demo2-gif
|
||||
path: ./target/demo2.gif
|
||||
Reference in New Issue
Block a user