Skip to content

.github/workflows/create-animation.yml #1

.github/workflows/create-animation.yml

.github/workflows/create-animation.yml #1

on:
workflow_dispatch:
jobs:
create_anim:
runs-on: ubuntu-latest
steps:
- uses: Platane/snk@v3
with:
# github user name to read the contribution graph from (**required**)
# using action context var `github.repository_owner` or specified user
github_user_name: ${{ github.repository_owner }}
# list of files to generate.
# one file per line. Each output can be customized with options as query string.
outputs: |
dist/github-snake.svg
dist/github-snake.gif
# Upload generated files
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: animations
path: |
dist