This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
🔖 Bump version to 1.1.0 #12
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: 'Generate Preview GIF' | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
pre-release: | |
name: 'Generate Preview GIF' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
id: setup-node | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- uses: browser-actions/setup-chrome@v1 | |
id: setup-chrome | |
- uses: FedericoCarboni/setup-ffmpeg@v2 | |
id: setup-ffmpeg | |
- run: npm ci | |
- run: npm test | |
- run: | |
ffmpeg -framerate 15 -i output/project/%06d.png -vf | |
"fps=15,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" | |
output-big.gif | |
- uses: 'marvinpinto/action-automatic-releases@latest' | |
with: | |
repo_token: '${{ secrets.GITHUB_TOKEN }}' | |
automatic_release_tag: 'latest' | |
prerelease: true | |
title: 'Development Build' | |
files: | | |
output-big.gif |