chore: rome format #46
This file contains 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: vhs | |
# on: | |
# push: | |
# paths: | |
# - tools/demo.tape | |
# - .github/workflows/vhs.yml | |
# jobs: | |
# vhs: | |
# defaults: | |
# run: | |
# shell: bash | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Setup Rust | |
# uses: actions-rs/toolchain@v1 | |
# with: | |
# toolchain: stable | |
# - uses: actions/cache@v3 | |
# with: | |
# path: | | |
# ~/.cargo/bin/ | |
# ~/.cargo/registry/index/ | |
# ~/.cargo/registry/cache/ | |
# ~/.cargo/git/db/ | |
# target/ | |
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
# - name: Build dsm | |
# run: cargo build --release | |
# - run: ls -A && ls -A target && ls -A target/release | |
# - name: Add to path | |
# run: export PATH="target/release/":$PATH | |
# - uses: charmbracelet/vhs-action@v2 | |
# - name: Run vhs | |
# shell: bash | |
# run: | | |
# export PATH="target/release/":$PATH | |
# eval "$(dsm env bash)" | |
# vhs tools/demo.tape | |
# - uses: stefanzweifel/git-auto-commit-action@v4 | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# with: | |
# commit_message: Update generated VHS GIF | |
# branch: main | |
# commit_user_name: vhs-action 📼 | |
# commit_user_email: actions@github.com | |
# commit_author: vhs-action 📼 <actions@github.com> | |
# file_pattern: '*.gif' |