v0.8.0: fix daily-window status remaining + honor upstream_url for an… #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: demo | |
| on: | |
| workflow_dispatch: {} | |
| push: | |
| tags: ["v*.*.*"] | |
| permissions: | |
| contents: write | |
| jobs: | |
| vhs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.24" | |
| - name: Build binary for the demo | |
| run: go build -o /usr/local/bin/fuse ./cmd/fuse | |
| - name: Install vhs + deps (ffmpeg, ttyd, vhs) | |
| run: | | |
| set -euo pipefail | |
| sudo apt-get update | |
| sudo apt-get install -y ffmpeg | |
| sudo curl -fsSL -o /usr/local/bin/ttyd https://github.com/tsl0922/ttyd/releases/download/1.7.7/ttyd.x86_64 | |
| sudo chmod +x /usr/local/bin/ttyd | |
| go install github.com/charmbracelet/vhs@latest | |
| - name: Render demo.gif | |
| run: | | |
| export PATH="$(go env GOPATH)/bin:$PATH" | |
| vhs docs/demo.tape | |
| - name: Commit rendered gif | |
| run: | | |
| git config user.name "${{ github.actor }}" | |
| git config user.email "${{ github.actor }}@users.noreply.github.com" | |
| git add assets/demo.gif | |
| git commit -m "chore: render demo gif" || { echo "no change"; exit 0; } | |
| git push |