Skip to content

fix: using vhs action #7

fix: using vhs action

fix: using vhs action #7

Workflow file for this run

name: Generate Demos
on:
workflow_dispatch:
pull_request:
branches:
- master
permissions:
contents: write
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.19'
- name: Build
run: go build .
record-receiver:
runs-on: ubuntu-latest
needs: [setup]
steps:
- name: Record receiver
uses: charmbracelet/vhs-action@v2.0.0

Check failure on line 31 in .github/workflows/generate_demo.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/generate_demo.yml

Invalid workflow file

You have an error in your yaml syntax on line 31
with:
path: 'receiver_demo.tape'
record-sender:
runs-on: ubuntu-latest
needs: [setup]
steps:
- name: Download a 200MB test file
run: curl -LJO http://ipv4.download.thinkbroadband.com/200MB.zip
- name: Record sender
uses: charmbracelet/vhs-action@v2.0.0
with:
path: 'sender_demo.tape'
Commit:
runs-on: ubuntu-latest
needs: [record-receiver, record-sender]
steps:
- run: |-
cd main
git config --global user.email "actions@users.noreply.github.com"
git config --global user.name "DEMO-bot"
git add sender_demo.gif receiver_demo.gif && git commit -m "Updated Demo"
git push