添加 .gitea/render.yaml
Some checks failed
Render video / Render video (push) Failing after 1m32s

This commit is contained in:
2024-05-11 16:21:14 +08:00
parent e33fcf0d73
commit c0de6c25ac

22
.gitea/render.yaml Normal file
View File

@@ -0,0 +1,22 @@
name: Render video
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
render:
name: Render video
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/setup-node@main
- run: sudo apt update
- run: sudo apt install ffmpeg
- run: sudo apt install yarn
- run: yarn
- run: yarn build"
- uses: actions/upload-artifact@v2
with:
name: out.mp4
path: out/video.mp4